Viewing 15 posts - 18,691 through 18,705 (of 22,214 total)
gyessql (1/16/2009)
Ya, you are right Grant. I was thinking in terms of Course_desc (considering it being unique) and AccountId, totally forgot about CourseID. My bad!!
But if he did go with...
January 16, 2009 at 1:06 pm
Can you post the execution plan for the original query?
January 16, 2009 at 12:55 pm
When you're not using it in a WHERE clause or a JOIN, COALESCE
January 16, 2009 at 12:54 pm
gyessql (1/16/2009)
Grant Fritchey (1/16/2009)
January 16, 2009 at 12:35 pm
You could make the Course and Unit pk into a compound PK that includes AccountId. Then the UnitCourse table will have an added column used as a constraint against each...
January 16, 2009 at 10:43 am
mike.sortino (1/16/2009)
January 16, 2009 at 7:12 am
Paresh Prajapati (1/16/2009)
But page lock is lock all other rows which is not required to be lock, so other process which has require those rows then it is not geninune..
Yes,...
January 16, 2009 at 7:03 am
For all those people who want employees treated "fairly" you'll need to define "fair." Does it mean identical, in that, all DBA's are paid 30K? Does it work of seniority,...
January 16, 2009 at 6:42 am
If you're getting this sophisticated with dynamic SQL, then you really need to look into sp_executesql instead of simply using the exec statement. sp_executesql will allow you to define parameters...
January 16, 2009 at 6:35 am
I wish it was available online, but if you can track down the final copy of the SQL Standard, I wrote an article comparing TOP, MAX and ROW_NUMBER as a...
January 16, 2009 at 6:23 am
Regarding Performance: It depends, but yes, CROSS APPLY can be used in place of an INNER JOIN in some situations to realize a performance benefit. It's only going to work...
January 16, 2009 at 6:15 am
I'm hoping we can get it to 100 pages. Then it should die. Horribly. Suffering.
January 16, 2009 at 6:05 am
MarkusB (1/16/2009)
The only way to set...
January 16, 2009 at 6:03 am
No. I don't want to be angry at anyone becuase they're making more than I think they're worth and I don't want anyone angry at me for the same reason....
January 16, 2009 at 5:54 am
Paresh Prajapati (1/15/2009)
U have to require row level lock with some range of columns..
Really? What happens if you're updating more than one row? What about if you were updating 1/2...
January 16, 2009 at 5:52 am
Viewing 15 posts - 18,691 through 18,705 (of 22,214 total)