Viewing 8 posts - 1 through 8 (of 8 total)
Thanks Adrian.
I think I'll use the same concept but use a bat file containing one line per osql call where the osql will execute the script.
cheers
April 26, 2007 at 7:37 am
Thanks Adrian but I wanted to avoid the route you suggest since the EM sometimes generates other informations like collation etc. which I'd prefer not to carry over.
April 26, 2007 at 5:44 am
I think you should use a stored procedure for this and use xp_cmdshell to check existence of the file.
I'm trying something similar right now and it appears that xp_sendmail cannot...
May 18, 2004 at 9:56 am
You could try http://www.sqlserver-performance.com http://www.sqlteam.com
February 14, 2004 at 8:57 am
May be you could try the following: Open a DOS window and do oSQL -L to get a list of servers. And then run osql -E -S -Q \"SELECT "@@version\"....
February 12, 2004 at 1:03 am
I think the BULK INSERT statement is a good substitute to bcp. You avoid teh use of xp_cmdshell and also you avoid the overhead of having each field around...
July 21, 2003 at 11:59 am
Viewing 8 posts - 1 through 8 (of 8 total)