Viewing 13 posts - 1 through 13 (of 13 total)
Thanks, Raja - this works great!
A few mods:
1. Changed the VARCHAR(8000) variables to VARCHAR(MAX) to avoid problem noted by another respondent.
2. To handle ORDER BY clauses, I added code to...
March 27, 2008 at 5:19 pm
Thanks, Noel - that makes sense.
Carl
August 4, 2004 at 12:11 am
Thanks, jcool - I'll check this out too!
December 15, 2003 at 3:56 pm
Thanks, Jonathan! I'll try it out.
December 12, 2003 at 12:57 pm
Thanks to all for your help. The most effective tweak by far was to avoid doing joins on the archive table, using instead a temp version of the archive table...
January 10, 2003 at 12:19 pm
5409045121009, thanks for the ideas on query optimization. Yes, the date field is indexed. I can see the reasons for all your suggestions except placing MOAT as the first table...
January 7, 2003 at 10:15 am
Thanks for the help from each of you. mromm seems to be on the right track about indexes - DBCC DEFRAG, sp_udatestats and DBCC updateusage had no effect on the...
January 6, 2003 at 6:03 pm
quote:
Carl, In SQL, global search and replace for procs is a query useing the command replace run against the right sys table......
November 14, 2002 at 7:20 pm
Thanks for your speedy responses - I appreciate it. Given the constraints, I think I'll settle for the template option. It would be great if SQL Server had global search...
November 14, 2002 at 4:42 pm
Thanks very much Simon. I do have recovery mode set to Simple and there are no other users on the system so I don't think I'd gain anything by an...
October 17, 2002 at 2:57 pm
Viewing 13 posts - 1 through 13 (of 13 total)