Excerpt
Applies to: SQL Server
Spawns a Windows command shell and passes in a string for execution. Any output is returned as rows of text. Transact-SQL syntax conventions
xp_cmdshell { 'command_string' } [ , NO_OUTPUT ]
Important
Arguments for extended stored procedures must be entered in the specific order as described in the Syntax section. If the parameters are entered out of order, an error message occurs.
The string that contains a command to be passed to the operating system. command_string is varchar(8000) or nvarchar(4000), with no default. command_string can't contain more than one set of double quotation marks. A single pair of quotation marks is required if any spaces are present in…
The opening of the report, shown for reference. The full report, with its figures and indicators, is published by Microsoft on docs.microsoft.com.
More from Microsoft30
- dd252791.aspxMicrosoft · Added 19 Oct
- ms14-068.aspxMicrosoft · Added 19 Oct
- assocMicrosoft · Added 18 Oct
- The Gentlemen ransomware: Dissecting a self-propagating Go encryptorMicrosoft · Published 28 May