cms9651 Starting Member
26 Posts
quote:“The configuration option ‘xp_cmdshell’ does not exist, or it may be an advanced option.”
EXEC sp_configure 'xp_cmdshell'; EXEC xp_cmdshell 'bcp "SELECT * FROM tkt " queryout "c:\temp\test.txt" -T -c -t,';
jackv Flowing Fount of Yak Knowledge
United Kingdom 1765 Posts