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.
Executes a batch of Transact-SQL statements that does not expect a returned results set on the specified instance of SQL Server.
Führt einen Batch von Transact-SQL-Anweisungen, der für die angegebene SQL Server-Instanz keine Rückgabe eines Resultsets erwartet, asynchron aus.
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
execution of the Transact-SQL statement or stored procedure that is described by this SqlCommand, generally executing commands such as INSERT, DELETE, UPDATE, and SET statements.
Führt Befehle aus, z. b. Anweisungen zum Einfügen, löschen, aktualisieren und Festlegen von Transact-SQL.XmlReader object.
Contenu potentiellement sensible ou inapproprié
Les exemples vous aident à traduire le mot ou l’expression cherchés dans des contextes variés. Ils ne sont ni sélectionnés ni validés par nous et peuvent contenir des mots ou des idées inappropriés. Signalez des exemples à modifier ou à retirer. Les traductions potentiellement sensibles, inappropriées ou familières sont généralement marquées de rouge ou d’orange.