enrique_aeo
asked on
run a query and the result of this query must be taken to a text file
hi experts
What I need is to run a query and the result of this query must be taken to a text file without using DTS this has to be daily (through a JOB)
please help
What I need is to run a query and the result of this query must be taken to a text file without using DTS this has to be daily (through a JOB)
please help
SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
ASKER CERTIFIED SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
ASKER
and where I execute these commands?
master..xp_cmdshell 'bcp master..sysobjects out c:\file.bcp -S -U -P -c '
d.o.s.?
master..xp_cmdshell 'bcp master..sysobjects out c:\file.bcp -S -U -P -c '
d.o.s.?
ASKER
but I do not know that tool