Viewing 5 posts - 1 through 5 (of 5 total)
this is my string query
declare @cmd nvarchar(1000)
set @cmd = 'bcp "select * from northwind..customers" queryout d:\w3root\test\atest.txt -S"testserver" -T -w'
exec master..xp_cmdshell @cmd
when excute it at first time ,...
May 28, 2008 at 1:06 am
declare @cmd nvarchar(1000)
set @cmd = 'bcp Northwind..customers out d:\w3root\test\atest.txt -T -w '
exec master..xp_cmdshell @cmd
I run the above query in sqlserver 2005 , i can be run at the first...
May 27, 2008 at 9:38 pm
yes, i have full control in this folder and I am running the query in a sql 2005
it only can run it once and create the output file,...
May 27, 2008 at 9:14 pm
use my domain account , it has the administrator's right
but I found the answer, I missed the parameter -T -c at the end of the statement ,
but there is...
May 27, 2008 at 1:24 am
yes, it does exist
May 26, 2008 at 8:58 pm
Viewing 5 posts - 1 through 5 (of 5 total)