Viewing 15 posts - 2,236 through 2,250 (of 6,036 total)
DECLARE @PathFile nvarchar(256)
CREATE TABLE #FileDetails (
[Alrernate Name] sysname NULL,
[Size] bigint,
[Creation Date] char(8),
[Creation Time] char(6),
[Last Written Date] char(8),
[Last Written Time] char(6),
[Last Accessed Date] char(8),
[Last Accessed Time] char(6),
[Attributes] int NULL
)
INSERT INTO...
_____________
Code for TallyGenerator
August 9, 2012 at 7:32 pm
Lowell (8/7/2012)
This is my 10,000th (ten thousandth) post!
You suck!
Single thread next to this one got almost 4 times more!!!
😀
_____________
Code for TallyGenerator
August 8, 2012 at 2:49 am
Alex Fekken (7/18/2012)
"It is so frustrating: every table that I date turns out to be a relation."
Good DBA keeps his relations well normalised.
_____________
Code for TallyGenerator
August 8, 2012 at 2:43 am
opc.three (8/6/2012)
c3 and c4 become fragmented, not because of the clustering key, but because you're applying modulo 10 to your calculation meaning in the subset inserts you'll be inserting some...
_____________
Code for TallyGenerator
August 7, 2012 at 4:51 am
SQL Kiwi (5/23/2012)
Sergiy (5/22/2012)
_____________
Code for TallyGenerator
August 5, 2012 at 10:46 pm
DBA-640728 (5/22/2012)
_____________
Code for TallyGenerator
May 22, 2012 at 11:36 pm
SQL Kiwi (5/22/2012)
The link works fine now.
Yep. Can read it now.
The 'boosting insert' case does not use a heap, as previously mentioned.
If we choose to believe so.
IndId =...
_____________
Code for TallyGenerator
May 22, 2012 at 11:25 pm
The "original challenge" is not accessible. May be temporarily.
But anyway, both articles focus on splitting the load on the SINGLE index (heap in "Boosting INSERT" case).
In "Resolving PAGELATCH Contention" it's...
_____________
Code for TallyGenerator
May 21, 2012 at 7:46 pm
Instead of CASE you may use also ISNULL(NULLIF) construction:
LEFT(CUST.Address, ISNULL( NULLIF(CHARINDEX(CHAR(13), CUST.Address, 1), 0) - 1), LEN(CUST.Address) ) )
_____________
Code for TallyGenerator
May 3, 2012 at 8:59 pm
Error is in the sequence of operations:
PROBLEM:
Insert into ERROR_LOG (ERROR_DATE, ERROR_USER, [ERROR_MESSAGE], ERROR_SOURCE, [ERROR_NUMBER], ERROR_HOST)
Select getdate(), SYSTEM_USER, '',@source, @intErrorCode, HOST_NAME()
ROLLBACK TRAN
ROLLBACK TRAN...
_____________
Code for TallyGenerator
March 8, 2012 at 7:03 pm
You may use LF for BULK INSERT and immediately after it's completed strip the last character from the last column there it is CHAR(13).
_____________
Code for TallyGenerator
March 8, 2012 at 6:36 pm
I see you've got the petrol station analogy.
Time to wrap it up.
🙂
_____________
Code for TallyGenerator
January 17, 2012 at 3:07 pm
Toreador (1/16/2012)
An awful lot of bandwidth would have been saved if you'd just said "yes I agree, it's lingual"!😉
Well, as long as we communicate here in some language, it...
_____________
Code for TallyGenerator
January 16, 2012 at 8:36 pm
SQL Kiwi (1/16/2012)
Sergiy (1/15/2012)
Which means - Fuel counting executes before fuel is pumped.The part that resets the counter does, yes.
Part of it. Exactly. But not the whole operation.
Of...
_____________
Code for TallyGenerator
January 16, 2012 at 8:18 pm
Fun part:
Question:
Which query plan operator executes first?
Correct answer:
The Stream Aggregate
My question:
Sorry, the Stream Aggregate executes what?
_____________
Code for TallyGenerator
January 15, 2012 at 11:49 pm
Viewing 15 posts - 2,236 through 2,250 (of 6,036 total)