Viewing 15 posts - 2,956 through 2,970 (of 5,590 total)
Ninja's_RGR'us (10/10/2010)
GilaMonster (10/7/2010)
TheSQLGuru (10/7/2010)
I wonder if the top 10 posters aren't 10 or more percent of the total posts.
If you do the maths, it works out that...
October 10, 2010 at 2:55 pm
Using the DelimitedSplit8K function, you would end up with:
DECLARE @String1 varchar(8000),
@String2 varchar(8000);
SET @String1 = 'a,b,c,d';
SET @String2 = 'apple,boy,college,dog';
SELECT a.Item, b.Item
FROM...
October 10, 2010 at 1:50 pm
Amit Pandey DeBugSQL (10/10/2010)
Brilliant stuff, analyzing it now.Cheers.
Thanks.
Analyzing the code, or the results of it?
October 10, 2010 at 1:35 pm
Craig Farrell (10/6/2010)
WayneS (10/6/2010)
Craig Farrell (10/6/2010)
Answer: No and no.This code, as is, will not deadlock independently. There's no transaction calls.
What is the serverwide setting for isolation?
Craig, did you consider...
October 10, 2010 at 1:34 pm
Paul, Jeff, et all...
I want to ensure that I understand the safety check as posted by Paul at http://www.sqlservercentral.com/Forums/FindPost980118.aspx, and modified by Tom at http://www.sqlservercentral.com/Forums/FindPost981258.aspx.
The resultant (combined) code would be:WITH...
October 10, 2010 at 12:57 pm
Amit,
Here is my freshly updated code to show what is going on with this deadlock. (For any keeping track, this is now my most recent deadlock shredding code.)
-- see http://msdn.microsoft.com/en-us/library/ms188246.aspx
--...
October 10, 2010 at 12:23 pm
As usual, Jeff has an excellent solution.
I did notice one, well, issue with it. It is assuming that the control numbers will have a prefix, followed by 9 zero-padded digits....
October 10, 2010 at 9:01 am
GilaMonster (10/10/2010)
Well that's my T-SQL Tuesday post done and scheduled. Took me far longer than I had planned to write.
Well, you did say you were debunking three myths. I bet...
October 10, 2010 at 8:48 am
The deadlock graph will be in an XML format... do you have that available?
October 9, 2010 at 7:29 am
WITH CTE AS
(
Select distinct
Name = Column2 ,
[Year] = Column20 ,
...
October 9, 2010 at 7:26 am
You showed us your desired output... now how about some sample data to see what we need to do to generate the output?
Please see the first two links in my...
October 9, 2010 at 7:18 am
Okay Craig and Craig-4 - I've been off all day, just getting back to look at this. It seems like things are going good. Is there anything else that is...
October 8, 2010 at 8:29 pm
Sounds good to me. Maybe a forum of "Other Databases", that could include Oracle, Access, MySql, etc.
October 8, 2010 at 9:59 am
That's essentially it. Uninstall. Install different edition.
October 8, 2010 at 9:58 am
You're very close:
select SUM(CASE WHEN calendar_year=2009 THEN amount1 ELSE 0 END) as amount_1,
SUM(CASE WHEN calendar_year=2010 THEN amount2 ELSE 0 END) as amount_2,
...
October 8, 2010 at 5:20 am
Viewing 15 posts - 2,956 through 2,970 (of 5,590 total)