Viewing 15 posts - 6,631 through 6,645 (of 8,761 total)
SQL DBA-909494 (11/6/2014)
I am looking for a script which will help me to capture the object details like constraints, clustered & non-clustered indexes, primary & foreign keys, etc before migration...
November 6, 2014 at 10:30 pm
qinzhen (11/6/2014)
I have a lot of txt files with data that I need to import. They are "|" separated data files.
Some of them have the columns like...
November 6, 2014 at 10:17 pm
Alan.B (11/6/2014)
Eirikur Eiriksson (11/6/2014)
:blush: just noticed, had several "versions", this one is no good😎
This guy here is slightly slower....
Yes, stay away from the red one:-D
So here's a question...
Let's say...
November 6, 2014 at 10:09 pm
occasional sql (11/6/2014)
November 6, 2014 at 9:55 pm
ramana3327 (11/6/2014)
November 6, 2014 at 2:54 pm
Quick question, are you using Remote BLOB Storage (RBS)?
😎
November 6, 2014 at 2:48 pm
Just for fun, a computed column solution:-)
😎
USE tempdb;
GO
SET NOCOUNT ON;
CREATE TABLE dbo.TBL_COUNT_TO_THREE
(
CTT_ID INT IDENTITY(1,1) NOT NULL CONSTRAINT PK_DBO_TBL_COUNT_TO_THREE_CTT_ID PRIMARY KEY CLUSTERED
,CTT_VAL VARCHAR(50)...
November 6, 2014 at 1:10 pm
harrietf (11/6/2014)
November 6, 2014 at 12:32 pm
Gazareth (11/6/2014)
My explanation would be that the CTE is never materialised as such, so the rn value is...
November 6, 2014 at 11:29 am
:blush: just noticed, had several "versions", this one is no good
😎
November 6, 2014 at 10:58 am
Quick thought, there are actually two row_number instances in the plan, one used for the delete and another for the output. As only one row is outputted, the row number...
November 6, 2014 at 10:17 am
Alan.B (11/4/2014)
I like the idea, tinkered a little bit with the code and got the average execution time...
November 6, 2014 at 9:14 am
aaron.reese (11/6/2014)
that ERD must have taken you hours!
Less than five minutes in vi, slightly more in notepad++
😎
November 6, 2014 at 4:46 am
Further on Koen's question, restarting the service is not a blanket solution, in fact the same principle applies here as elsewhere, why "fix" it if it isn't broken? Also you...
November 6, 2014 at 3:27 am
Hi and welcome to the forum.
Further on Stewart's answer, have a look at this article, Detecting and Ending Deadlocks
Avoiding deadlocking is best done by design, making certain that resources...
November 6, 2014 at 2:27 am
Viewing 15 posts - 6,631 through 6,645 (of 8,761 total)