CyberSIXT Search
Research reports

Microsoft

xp_cmdshell (Transact-SQL) - SQL Server

By markingmyname

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

All 31 reports from Microsoft

On this device

Following

Intel

VendorsThreat actorsResearch reports

Settings

CyberSIXT summarises security news every 30 minutes.

↑↓ move↵ open⌘C copy CVE IDEsc close

Keyboard shortcuts

Everything works with a mouse or touch. Shortcuts are a faster path.

Search ⌘K
Search /
Next item J
Previous item K
Go to Today GT
Go to News GN
Go to CVEs GC
Go to Briefing GB
Reduce motion on this device