Viewing 6 posts - 31 through 36 (of 36 total)
Huge Difference. It only takes 3 seconds to run now. I don't know why I didn't think of that.
March 29, 2007 at 6:56 am
select
distinct Clientid, dbo.concatFieldNames(clientID)Publication
INTO
#clientpublication
from
ClientPublication
March 28, 2007 at 11:14 am
I am doing this through a trigger.
Thanks
January 30, 2007 at 11:17 am
Database Mail is working fine. I have other items using it. Also I can't kill the transaction which is why I have to stop services. Service broker isn't really an...
January 21, 2007 at 8:29 am
Try it this way with only one declare and commas separating your two variables
Declare @BeginDate varchar(8),
@EndDate varchar(8)
Select @BeginDate = convert(varchar,DateAdd(mm, DateDiff(mm, 0, dateadd(mm, -2, Getdate())),0),112)
Select @EndDate = convert(varchar,DateAdd(mm, DateDiff(mm,...
August 1, 2006 at 12:57 pm
Viewing 6 posts - 31 through 36 (of 36 total)