Viewing 5 posts - 1 through 5 (of 5 total)
Perfect! Thanks!
It was this bit...
CREATE PROCEDURE DB2.dbo.Proc2 (@TimeStamp DATETIME)
AS
DELETE FROM Table2 WHERE [DATEADD] < @TimeStamp
GO
That I just couldn't remember the format for!
And yes, as soon as I...
November 30, 2012 at 5:32 am
Ignore me... I'm over complicating everything in my head.... I'll just declare a variable with a select from a temp table where I've inserted a date.
November 22, 2012 at 9:23 am
Thanks, much appreciated answers.
I've also just realised another problem that I'm going to come up against.
The next stage in this script I'm writing is that it is going to clear...
November 22, 2012 at 4:25 am
Thanks all...
I've just done a count and the actual number of rows transferring will be about 3.5 - 4 million rows a day and about 4Gb.
Why do you expect using...
November 14, 2012 at 7:15 am
Jason-299789 (11/14/2012)
If Logging isnt a priority on the Archive DB then set the recovery model to Simple.
Even with it set to simple though as I try to run an INSERT...
November 14, 2012 at 2:59 am
Viewing 5 posts - 1 through 5 (of 5 total)