Viewing 15 posts - 57,601 through 57,615 (of 59,048 total)
P.s Nice trick with the TOP 0 thing... most folks use WHERE 1=0 to do the same thing. TOP 0 seems more obvious and I like it.
September 17, 2006 at 1:09 pm
First, SELECT/INTO does not lock system tables during a SELECT/INTO with no explicit transaction... (at least, none that I can detect)...
Test setup:
First, build yourself a nice medium sized test...
September 17, 2006 at 1:00 pm
You should never set the database to grow by a percentage especially if the size of a database starts out small. It takes 73 growth spurts to grow a 1...
September 16, 2006 at 8:15 pm
Sure... I'll send you the shrunken head of a Developer that I didn't like ![]()
September 16, 2006 at 8:05 am
Just curious... did my post help at all?
September 15, 2006 at 10:25 pm
Yep... write to a UNC instead of a file/path...
The server must have write privs, as well.
September 15, 2006 at 10:18 pm
Job Requirements:
September 15, 2006 at 9:06 pm
Here's how to do it... you will need to replace "dbname" with the actual name of the database. You will need to do like wise with "servername". Once you've tested...
September 15, 2006 at 8:29 pm
Why on Earth would you put the creation of a temp table in an explicit transaction? And, so far as exclusively locking the system tables when you use SELECT/INTO to...
September 15, 2006 at 5:56 pm
You bet, Remi... we actually put the requirement in our "SQL Coding Standards" document so the Developers are made keenly aware of the problem. Since we do code reviews on...
September 15, 2006 at 5:51 pm
Sreejith,
Yep... we had a bunch of these... they all worked fine until, one day... That's what's so insidious about it. Works fine until you reach some unknown tipping point and...
September 15, 2006 at 5:48 pm
I'm with you there... one of my favorite sayings is "Anyone can make a mistake but to really mess things up, you need a computer."
September 15, 2006 at 6:44 am
Nope... it doesn't matter if they're 2 or 20,000... especially when someone posts as well as you do
Dunno... maybe I need some stronger...
September 15, 2006 at 6:42 am
Viewing 15 posts - 57,601 through 57,615 (of 59,048 total)