In this case, if Transact-SQL statement is in a batch, the current connection context is the database defined by the USE statement; if the Transact-SQL statement is in a stored procedure, the connection context is the database that contains the stored procedure.
Das Festlegen zur Analysezeit bedeutet Folgendes: Wenn sich die SET-Anweisung im Batch oder in der gespeicherten Prozedur befindet, wird sie unabhängig davon wirksam, ob die Codeausführung tatsächlich diesen Punkt erreicht, und die SET-Anweisung wird wirksam, bevor Anweisungen ausgeführt werden.
The statement or batch is parsed, but not executed.
Represents a Transact-SQL statement or stored procedure to execute against a SQL Server database.
Stellt eine Transact-SQL-Anweisung oder eine gespeicherte Prozedur dar, die in einer SQL Server-Datenbank ausgeführt werden soll.Beispiele
An interactive command prompt utility provided with SQL Server that lets users run Transact-SQL statements or batches from a server or workstation and view the results that are returned.
Ein interaktives Befehlszeilen-Hilfsprogramm, das mit SQL Server zur Verfügung gestellt wird und das es dem Benutzer ermöglicht, Transact-SQL-Anweisungen oder -Batches von einem Server oder einer Arbeitsstation aus auszuführen und die zurückgegebenen Ergebnisse anzuzeigen.
Potentially sensitive or inappropriate content
Examples are used only to help you translate the word or expression searched in various contexts. They are not selected or validated by us and can contain inappropriate terms or ideas. Please report examples to be edited or not to be displayed. Potentially sensitive, inappropriate or colloquial translations are usually marked in red or in orange.