We couldn’t find this entry. Showing approximate results. Check your spelling or suggest adding this term to the dictionary.
eines sqlcmd-Skripts
The SQL Server cmdlets support actions such as running a sqlcmd script containing Transact-SQL or XQuery
Die SQL Server-Cmdlets unterstützen Aktionen wie das Ausführen eines sqlcmd-Skripts, das Transact-SQL- oder XQuery-Anweisungen enthält.
Creates a sqlcmdscripting variable that can be used in a sqlcmd script.
Erstellt eine sqlcmd-Skriptvariable, die in einem sqlcmd-Skript verwendet werden kann.
The Database Engine Query Editor supports environment variables and variables that are defined as part of a SQLCMD script, but does not support built-in SQLCMD or osql variables.
Der Database Engine (Datenbankmodul)-Abfrage-Editor unterstützt Umgebungsvariablen und Variablen, die als Teil eines SQLCMD-Skripts definiert sind. Integrierte SQLCMD- oder osql-Variablen werden jedoch nicht unterstützt.
Other results
When a script containing SQLCMD keywords that are not supported is executed, the Query Editor will send an "Ignoring command<ignored command>" message to the destination for each unsupported keyword.
Wenn ein Skript ausgeführt wird, das nicht unterstützte SQLCMD-Schlüsselwörter enthält, sendet der Abfrage-Editor für jedes nicht unterstützte Schlüsselwort die Meldung "Ignoring command<ignored command>" an das Ziel.
SQLCMD scripts in the Query Editor can use the same features that all Transact-SQL scripts use.
You use SQLCMD scripts when you have to process Windows System commands and Transact-SQL statements in the same script.
Sie verwenden SQLCMD-Skripts, wenn Sie Windows-Systembefehle und Transact-SQL-Anweisungen in einem Skript verarbeiten müssen.
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.
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.
Looking at the SQLCMD variables in the script that tie the script exclusively to SQLCMD with that interwoven dependencies makes me feel sick.
I can pass the variables from SQLCMD to the SQL script using the -v argument and hence use one script create different backup types for different databases to different output files with just one script file.
Ich kann diese Variablen von SQLCMD an das SQL-Script übergeben indem ich sie in dem -v Argument der Befehlszeile angebe. Somit kann ich ein und dasselbe Script verwenden um verschiedene Backup-Arten für verschiedene Datenbanken zu erstellen.
Users submit a sqlcmd job either by specifying a single Transact-SQL statement to execute, or by pointing the utility to a text file that contains Transact-SQL statements to execute.
Sie können einen sqlcmd-Auftrag durch Angeben einer einzelnen auszuführenden Transact-SQL-Anweisung übermitteln oder durch Verweisen des Dienstprogramms auf eine Skriptdatei, die auszuführende Transact-SQL-Anweisungen enthält.
The following example uses a sqlcmd statement to create an output file called testoutput.txt, executes two Transact-SQL SELECT statements along with one operating system command (to print out the current directory).
Im folgenden Beispiel wird eine sqlcmd-Anweisung zum Erstellen einer Ausgabedatei mit dem Namen testoutput.txt verwendet, und es werden zwei Transact-SQL-SELECT-Anweisungen zusammen mit einem Betriebssystembefehl ausgeführt (zum Drucken des aktuellen Verzeichnisses).
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.