Top "Xp-cmdshell" questions

an extended stored procedure provided by SQL Server, which launches a Windows command shell to run a specified command.

Run a console application from SQL Server after table update trigger asynchronously?

I am having trouble with finding the best way to solve my issue, please keep in mind I am open …

sql sql-server xp-cmdshell
SQL 2012 bcp call returns SQLState = 28000. NativeError = 18456 Login failed for user

I’m working with a SQL stored procedure that makes a call to xp_cmdshell. xp_cmdshell has been enabled, …

sql-server sql-server-2012 bcp xp-cmdshell
xp_cmdshell Query Length Too Large

All, I need to write a data set from a large SQL table to a .txt file. To do this …

sql tsql xp-cmdshell
How to run a Stored Procedure as Sysadmin?

I don't want to grant the user Sysadmin role. Is there any way to run a specific stored procedure as …

sql-server-2005 stored-procedures xp-cmdshell
Passing variable into xp_cmdshell

I have a stored procedure in SQL Server that checks for today's backup files (files that has a date in …

sql-server variables xp-cmdshell