Viewing 15 posts - 48,091 through 48,105 (of 49,571 total)
Good luck.
I'm writing this one on friday morning. Still need to work through two of the course guides. :Whistling:
Shall we compare results monday morning?
December 10, 2007 at 6:18 am
Datalength works on text and ntext data types where len does not.
December 10, 2007 at 6:13 am
Ananth (12/10/2007)
December 10, 2007 at 6:12 am
You can, but you will have a performance impact. How much depends on your hardware and the activity.
Try shrinking in smaller chunks. Sometimes that works out faster overall. Even if...
December 10, 2007 at 6:09 am
It didn't change in 2005. I don't know about previous editions, because I started with SQL 2000, but 2000 also had no issues with null bit columns
December 10, 2007 at 6:01 am
Yeah, I saw it. I even read it, twice.
I'm commenting on the cursor as much for the benefit of anyone reading this who might otherwise think that's a good way...
December 10, 2007 at 1:22 am
Jeff Moden (12/9/2007)
Heh... yeah... I know what they're for... it just that lot's of folks use them for things they should be doing in T-SQL, but don't know how.
Tell me...
December 10, 2007 at 12:12 am
Functions are not allowed to have side effects. No data changes, no schema changes, no config changes.
Can you convert it to a stored procedure?
December 9, 2007 at 11:40 pm
I still need to convert some of my crappy string manipulation functions to CLR. I'm betting on a CPU usage reduction if nothing else.
There are things that can be done...
December 9, 2007 at 11:29 pm
Rob Reid (12/9/2007)
To handle multiple inserts I could have while looped through each record in the inserted calling the proc
Ow! Cursors (or while loops) in triggers are very bad...
December 9, 2007 at 11:25 pm
I my experience, the traceflag is the best way to get deadock info, as you don't need any form of monitoring running. You can see deadlock graphs in the error...
December 9, 2007 at 11:17 pm
TheSQLGuru (12/8/2007)
Stealing my thunder Gila! I already posted on that yesterday at 8:54. 🙂
I saw, I thought it was worth saying again in stronger terms.
Besides, isn't imitation the...
December 9, 2007 at 12:25 pm
It's a multiple choice and simulation exam. You won't have to write code. You may need to select the correct version of the command from a list, so you should...
December 9, 2007 at 12:01 pm
As for your original question.
On a insert, the inserted table will be populated and the deleted will be empty. On an update, both the inserted and deleted tables will be...
December 8, 2007 at 1:50 pm
I'm not sure why this is deadlocking, as statements within a transaction cannot block each other.
If you look through the deadlock graph, can you find any reference to a...
December 8, 2007 at 1:37 pm
Viewing 15 posts - 48,091 through 48,105 (of 49,571 total)