Viewing 15 posts - 54,826 through 54,840 (of 59,078 total)
You could start by running sp_Lock during the periods of slowness. Running sp_HelpDB will allow you to figure out the DBID for TempDB... check for blocking on that DBID...
September 27, 2007 at 7:16 pm
It was a way of saying "Thanks, Steve". I do it the same way Remi does...
Any luck yet on the triple spacing problems I told you about or...
September 27, 2007 at 9:23 am
Heh... I know that's gotta be right... just inserting 1 row into a brand new copy of the table gives me... (note that I run this type of code in...
September 27, 2007 at 9:14 am
And, here's a good article by the gent that got me interested in Tally tables a thousand years ago... just remember, he doesn't really explain how to do the "business...
September 27, 2007 at 8:00 am
Like any other function that returns a table, you should be able to use the function to create a permanent table...
[font=Courier New]
SELECT *
INTO dbo.newdatetable
FROM dbo.F_TABLE_DATE(somestartdate,someenddate)[/font]
My concern is... what do you...
September 27, 2007 at 7:51 am
Guess I get to put the bat down... 😀 Separate tables.
September 27, 2007 at 7:41 am
One of the recommendations in Books Online under "deadlocks, avoiding" is...
Keep Transactions Short and in One Batch
A deadlock typically occurs when several long-running transactions execute concurrently in the same database....
September 27, 2007 at 7:37 am
And, lookup "parameter sniffing" on this site or Google...
September 27, 2007 at 7:33 am
Like everything else, it depends...
It's easier to maintain security differences on two procs if you only want certain people to be able to use the "full-details" version. If you...
September 27, 2007 at 6:15 am
I agree with Ed... sure, you should be sending backup tapes off site. Sure, you should save some text files and send them offsite. And, I agree... what...
September 27, 2007 at 6:03 am
Adding an Identity column to each table isn't that much work if you write a little dynamic SQL to do it for you... especially if you have it all worked...
September 27, 2007 at 5:56 am
Heh... thanks, Lowell... you're too kind :blush:
Clarence,
If your barcodes/customer numbers get above 11,000, you can very easily change the "Tally" table to a million, but I wouldn't go much higher...
September 27, 2007 at 12:22 am
It's an SQL Server 2000 forum... no CTE's here...
September 27, 2007 at 12:16 am
Hi Mick,
Long time, no see...
Just an FYI... be real careful about using SET ROWCOUNT... if the queries after the SET have ORDER BY on large tables, you're going to...
September 27, 2007 at 12:13 am
Viewing 15 posts - 54,826 through 54,840 (of 59,078 total)