Viewing 8 posts - 1 through 8 (of 8 total)
I have not been able to put a "GO" in the stored procedure. What verb do I use in the stored procedure to get the same result?
Thanks
May 7, 2008 at 7:48 am
If the first one is holding a transaction open, how come it works when I execute them in a query window. Below is the script that works in a...
May 7, 2008 at 7:17 am
Add a new column then populate it with the convert function
update table set newdatecol = convert(datetime,substring(olddate,1,2)+'/'+substring(olddate,3,2)+'/'+substring(olddate,5,4))
then delete old column and rename new to old.
Hope this helps.
Ed
January 23, 2008 at 6:05 am
Thanks !!!!
Works great !!!
Ed
November 5, 2007 at 2:32 pm
In that case use xp_sendmail. Here is a link to it's format.
http://msdn2.microsoft.com/en-us/library/ms189505.aspx
Ed
November 1, 2007 at 9:02 am
Have you thought about using sp_send_dbmail. It has lots of parameters. You have the ability to run a sql script as a parameter and attach the output as...
November 1, 2007 at 7:03 am
Viewing 8 posts - 1 through 8 (of 8 total)