Hi all,
Could anyone please assist me with the following cmd
Select "bcp " + db_name()
+ ".." + name +
" out c:\temp\" + name + ".txt /c -t\t -SserverName
-UuserID -Ppassword /b1000"
from sysobjects
where type = "U"
order by name
I am trying to run the below but with errors.
Select "bcp " + audit_db()
+ ".." + FILE_AUDIT +
" out FILE_AUDIT_040715".txt -SCHRIS_D
-Usa -Pchris"
from audit_db..FILE_AUDIT
where EVENT_DT < '2004/02/01'
Many Thanks
Chris
Could anyone please assist me with the following cmd
Select "bcp " + db_name()
+ ".." + name +
" out c:\temp\" + name + ".txt /c -t\t -SserverName
-UuserID -Ppassword /b1000"
from sysobjects
where type = "U"
order by name
I am trying to run the below but with errors.
Select "bcp " + audit_db()
+ ".." + FILE_AUDIT +
" out FILE_AUDIT_040715".txt -SCHRIS_D
-Usa -Pchris"
from audit_db..FILE_AUDIT
where EVENT_DT < '2004/02/01'
Many Thanks
Chris