Export Pipe Delimited CSV With cmdshell
Enable xp_cmdshell
-- Turns on advanced options and is needed to configure xp_cmdshell
master.dbo.sp_configure 'show advanced options', '1'
RECONFIGURE
-- enable xp_cmdshell
master.dbo.sp_configure 'xp_cmdshell', '1'
RECONFIGUREDisable xp_cmdshell
-- Turns on advanced options and is needed to configure xp_cmdshell
master.dbo.sp_configure 'show advanced options', '1'
RECONFIGURE
-- dosable xp_cmdshell
master.dbo.sp_configure 'xp_cmdshell', '0'
RECONFIGURESimple Usage
Advanced Usage
Reference
Last updated