I'm attempting to use the Bulk Copy Program to save query results to a file, and am not getting an error, however the file doesn't appear where I would expect it either:EXEC master..xp_cmdshell 'bcp "SELECT TOP 10 * FROM AIP..AIP_FirstCallDetail_LatestA" QUERYOUT "C:\EXAMPLE01.TXT" -U "user" -P "password" -c'
I'm seeing this output from the query analyser:NULLStarting copy...NULL10 rows copied.Network packet size (bytes): 4096Clock Time (ms.) Total : 1 Average : (10000.00 rows per sec.)NULL
It looks like it might be working, but I see no C:\EXAMPLE01.TXT file.Any ideas?