Viewing 15 posts - 11,836 through 11,850 (of 15,381 total)
Your assessment of cursors in a trigger being a bad idea is correct. Cursors can be really bad for performance and inside a trigger can be one of the worst...
May 25, 2012 at 7:55 am
Yeah there is no sure fire way to do that. One recommendation is to rename the objects instead of deleting them. For example if you have table called "Employees" that...
May 25, 2012 at 7:51 am
sturner (5/25/2012)
Sean Lange (5/25/2012)
May 25, 2012 at 7:42 am
I can remember on many occasions when it was windy we would fly backwards. Just pick a spot and point straight into the wind, slow down to just above stall...
May 25, 2012 at 7:28 am
Koen Verbeeck (5/24/2012)
Sean Lange (5/24/2012)
Koen Verbeeck (5/24/2012)
Sean Lange (5/24/2012)
Always keep in mind that the questions you find super easy today are a great chance for some less experienced folks to...
May 24, 2012 at 8:07 pm
blampe (5/24/2012)
SSCommitted,
There is no real correlation between the SSN and the new value ........ The purpose of this is to mask the SSN because it is...
May 24, 2012 at 3:32 pm
Fly Girl (5/24/2012)
May 24, 2012 at 3:10 pm
Koen Verbeeck (5/24/2012)
Sean Lange (5/24/2012)
Always keep in mind that the questions you find super easy today are a great chance for some less experienced folks to start answering. This helps...
May 24, 2012 at 2:46 pm
SQL Kiwi (5/24/2012)
Sean Lange (5/24/2012)
Second, and possibly more of an issue is you are using @@IDENTITY. This will return the most recent identity for ANY connection.
Yikes, no. You're thinking...
May 24, 2012 at 2:02 pm
I suspect Paul will link to this article. One I keep close at hand myself.
http://www.sqlteam.com/article/datediff-function-demystified
May 24, 2012 at 1:58 pm
CptCrusty1 (5/24/2012)
Lynn Pettis (5/24/2012)
What is with the hint any way? You do know the issues with...
May 24, 2012 at 1:56 pm
Lynn Pettis (5/24/2012)
CptCrusty1 (5/24/2012)
Lynn Pettis (5/24/2012)
What is with the hint any way? You do know the...
May 24, 2012 at 1:54 pm
tobinare (5/24/2012)
May 24, 2012 at 1:51 pm
You do not need a cursor to do this. Cursors are the bane of t-sql development.
If you can explain what you want for output I can help. Unfortunately so...
May 24, 2012 at 1:36 pm
Jay Pete (5/24/2012)
Can Anyone explain the logic to behind to get the first day of the monthSELECT dateadd(MM,datediff(MM,0,getdate()),0)
To understand this you first have to break it apart.
The second parameter inside...
May 24, 2012 at 12:59 pm
Viewing 15 posts - 11,836 through 11,850 (of 15,381 total)