Viewing 15 posts - 1,396 through 1,410 (of 18,926 total)
That works on all dbs on the same server.
Should be easy enough to strip out the create sp part and use that as a standalone script.
November 10, 2011 at 5:52 pm
DBCC TRACEON (1222,-1)
That will output the deadlock graphic in the sql error logs.
You could do a serverside trace that tracks the deadlocks as well.
Both work, but you can save the...
November 10, 2011 at 5:49 pm
SELECT @mid = MAX(id) from basetable.
INSERT INTO basetable (fake identity, columns)
Select ROW_NUMBER() OVER (ORDER BY ClusteredIndeColumnsOfBaseTable) + @mid as Fake identity, Columns FROM @tbl
Then you need to choose the isolation...
November 10, 2011 at 5:47 pm
You exemple is great to concatenate different columns of the same row.
What the OP wants is to contatenate the same column over multiple rows, grouped by the id.
That is what...
November 10, 2011 at 4:19 pm
Trying to clear up the air :
You get the data movement error... when there's data movement. That means pagesplit or possibly if a record is moved to another...
November 10, 2011 at 4:16 pm
powellstark (11/10/2011)
Reported as SPAM.
November 10, 2011 at 11:19 am
SQL Kiwi (11/10/2011)
Ninja's_RGR'us (11/10/2011)
We don't have the ressources to retest the whole ERP. It's the 3rd time I have a situation lile this. And certainly not the last!
OK...
November 10, 2011 at 11:04 am
bitbucket-25253 (11/10/2011)
Ninja's_RGR'us (11/10/2011)
--------------------------------------------------------------------------------
We're waiting on an OR & date. He's on top of the list. He needs an open heart surgery to fix 5 different problems. That's 10 hours on...
November 10, 2011 at 10:58 am
Ninja's_RGR'us (11/10/2011)
Got another puzzle for you guys and possibly another bug (row_number, partition by & cte).http://www.sqlservercentral.com/Forums/Topic1203532-266-1.aspx
It was a known bug, confirmed by our own walking wiki from NZ.
November 10, 2011 at 10:48 am
SQL Kiwi (11/10/2011)
November 10, 2011 at 10:47 am
Then lower it a little (leave at least 1 GB for windows). You can't starve the OS either. It's just as bad.
November 10, 2011 at 10:43 am
raotor (11/10/2011)
Ninja's_RGR'us (11/10/2011)
Try reducing to 100 000 rows see if that helps. Going much under that is not going to be really a good test.
It...
November 10, 2011 at 10:24 am
Your test env is underpowered.
Try reducing to 100 000 rows see if that helps. Going much under that is not going to be really a good test.
It runs in...
November 10, 2011 at 10:08 am
GSquared (11/10/2011)
Ninja's_RGR'us (11/10/2011)
We're waiting on an OR & date. He's on top of the list. He needs an open heart surgury to fix 5 different problems. That's...
November 10, 2011 at 9:56 am
Steve Jones - SSC Editor (11/10/2011)
Ninja's_RGR'us (11/10/2011)
November 10, 2011 at 9:50 am
Viewing 15 posts - 1,396 through 1,410 (of 18,926 total)