To use the Database Engine Query Editor to write or edit SQLCMD scripts, you must enable the SQLCMD scripting mode.
Wenn Sie den Database Engine (Datenbankmodul)-Abfrage-Editor zum Schreiben oder Bearbeiten von SQLCMD-Skripts verwenden möchten, müssen Sie den SQLCMD-Skriptmodus aktivieren.
Autres résultats
To turn SQLCMD scripting on for an active Database Engine Query Editor window, use the following procedure.
Verwenden Sie das folgende Verfahren, um die SQLCMD-Skripterstellung für ein aktives Fenster des Database Engine (Datenbankmodul)-Abfrage-Editors zu aktivieren.
To turn SQLCMD scripting on by default, on the Tools menu select Options, expand Query Execution, and SQL Server, click the General page, and then check the By default open new queries in SQLCMD Mode box.
Zum Aktivieren der SQLCMD-Skripterstellung als Standard wählen Sie im Menü Extras die Option Optionen aus, erweitern Sie Abfrageausführung und SQL Server, klicken Sie auf die Seite Allgemein, und aktivieren Sie das Kontrollkästchen Standardmäßig neue Abfragen im SQLCMD-Modus öffnen.
If the sqlcmd script contains an incorrect comment, syntax error, or is missing a scripting variable, ERRORLEVEL returned is 1. -V severitylevel
Wenn das sqlcmd-Skript einen falschen Kommentar bzw. einen Syntaxfehler enthält oder eine Skriptvariable fehlt, wird der ERRORLEVEL-Wert 1 zurückgegeben.
You can enable scripting mode by clicking the SQLCMD Mode icon in the toolbar or by selecting SQLCMD Mode from the Query menu.
Zum Aktivieren des Skriptmodus klicken Sie auf das Symbol SQLCMD-Modus auf der Symbolleiste, oder wählen Sie im Menü Abfrage die Option SQLCMD-Modus aus.
The sqlcmd utility is a Microsoft Win32 command prompt utility for ad hoc, interactive execution of Transact-SQL statements and scripts and for automating Transact-SQL scripting tasks.
Mit dem Dienstprogramm sqlcmd (ein Microsoft Win32-Befehlszeilen-Dienstprogramm) können Sie ad hoc Transact-SQL-Anweisungen und -Skripts ausführen.
Type QUIT to close the sqlcmd utility.
Geben Sie QUIT ein, um das Dienstprogramm "Sqlcmd" zu schließen.
When executed from the command line, the sqlcmd utility permits full interaction with the operating system.
Wenn das Hilfsprogramm sqlcmd an der Befehlszeile ausgeführt wird, ermöglicht es die vollständige Interaktion mit dem Betriebssystem.
The sqlcmd utility is typically used in the following ways
Das Dienstprogramm sqlcmd wird meist folgendermaßen verwendet
If -K is not specified, the sqlcmd utility will not support connectivity to a secondary replica in an AlwaysOn availability group.
Wenn -K nicht angegeben wird, unterstützt das sqlcmd-Hilfsprogramm keine Konnektivität mit einem sekundären Replikat in einer AlwaysOn-Verfügbarkeitsgruppe.
This is used to run Database Engine Query scripts to be run with the sqlcmd utility.
Mit diesem werden Datenbankmodul-Abfrageskripts ausgeführt, die mit dem sqlcmd-Hilfsprogramm ausgeführt werden.
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.