July 29, 2015 at 8:00 am
Lynn Pettis (7/28/2015)
Okay, time for a Chicken Dentist 'cause I'm done trying to pull teeth on thread where someone thinks a loop is the only way to accomplish a one off report without even looking at possible alternatives.
Gotta link?
--Jeff Moden
Change is inevitable... Change for the better is not.
July 29, 2015 at 8:00 am
SQLRNNR (7/29/2015)
WayneS (7/29/2015)
BL0B_EATER (7/29/2015)
WayneS (7/28/2015)
I love it when I learn something in an area where I thought I knew it all.You have made me very curious. What was the subject?
Table Variables. They automatically use a nolock query hint.
(Please Thread, don't smite me for posting code here...)
DECLARE @X TABLE (Col1 INT);
SELECT Col1
FROM @X
OPTION (RECOMPILE, QUERYTRACEON 3604, QUERYTRACEON 8607);
Oh and TF 3604 is typically used for certain console commands to output to screen. In this case, it is used to send the output of TF 8607 to screen.
STOP IT!
My job today is chase bad data (I already know the cause), NOT LAARN NEW THINGS!!!
😉
July 29, 2015 at 8:49 am
Jeff Moden (7/29/2015)
Lynn Pettis (7/28/2015)
Okay, time for a Chicken Dentist 'cause I'm done trying to pull teeth on thread where someone thinks a loop is the only way to accomplish a one off report without even looking at possible alternatives.Gotta link?
Sure. link.
I think the OP is now ignoring the thread though.
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
July 29, 2015 at 8:51 am
Brandie Tarvin (7/29/2015)
SQLRNNR (7/29/2015)
WayneS (7/29/2015)
BL0B_EATER (7/29/2015)
WayneS (7/28/2015)
I love it when I learn something in an area where I thought I knew it all.You have made me very curious. What was the subject?
Table Variables. They automatically use a nolock query hint.
(Please Thread, don't smite me for posting code here...)
DECLARE @X TABLE (Col1 INT);
SELECT Col1
FROM @X
OPTION (RECOMPILE, QUERYTRACEON 3604, QUERYTRACEON 8607);
Oh and TF 3604 is typically used for certain console commands to output to screen. In this case, it is used to send the output of TF 8607 to screen.
STOP IT!
My job today is chase bad data (I already know the cause), NOT LAARN NEW THINGS!!!
😉
It's a wasted day if you don't laarn something...
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
July 29, 2015 at 9:30 am
WayneS (7/29/2015)
Jeff Moden (7/29/2015)
Lynn Pettis (7/28/2015)
Okay, time for a Chicken Dentist 'cause I'm done trying to pull teeth on thread where someone thinks a loop is the only way to accomplish a one off report without even looking at possible alternatives.Gotta link?
Sure. link.
I think the OP is now ignoring the thread though.
hmmm...
Interesting.
Jason...AKA CirqueDeSQLeil
_______________________________________________
I have given a name to my pain...MCM SQL Server, MVP
SQL RNNR
Posting Performance Based Questions - Gail Shaw[/url]
Learn Extended Events
July 29, 2015 at 12:04 pm
Oh Silver Spoon, how do you manage to keep a job when you keep asking such basic questions. At least you found the answer to one of your questions on your own.
July 29, 2015 at 12:56 pm
Lynn Pettis (7/29/2015)
Oh Silver Spoon, how do you manage to keep a job when you keep asking such basic questions. At least you found the answer to one of your questions on your own.
one would assume because a) everyone else is worse where they work or b) someone keeps answering the questions.
-------------------------------------------------------------------------------------------------------------------------------------
Please follow Best Practices For Posting On Forums to receive quicker and higher quality responses
July 29, 2015 at 1:04 pm
Lynn Pettis (7/29/2015)
Oh Silver Spoon, how do you manage to keep a job when you keep asking such basic questions. At least you found the answer to one of your questions on your own.
Cannot help humming this whenever you mention Silver Spoon
😎
It is only a paper moon Silver Spoon
Sailing over a cardboard sea
But it wouldn't be make believe
If you believed in me
July 29, 2015 at 1:13 pm
Eirikur Eiriksson (7/29/2015)
Lynn Pettis (7/29/2015)
Oh Silver Spoon, how do you manage to keep a job when you keep asking such basic questions. At least you found the answer to one of your questions on your own.Cannot help humming this whenever you mention Silver Spoon
😎
It is only a
paper moonSilver SpoonSailing over a cardboard sea
But it wouldn't be make believe
If you believed in me
Yes, it's only a canvas sky,
floating over a muslin tree,
but it wouldn't be a make believe
if you believed in me
*sing it Nat!*
-------------------------------------------------------------------------------------------------------------------------------------
Please follow Best Practices For Posting On Forums to receive quicker and higher quality responses
July 29, 2015 at 1:15 pm
jonathan.crawford (7/29/2015)
Lynn Pettis (7/29/2015)
Oh Silver Spoon, how do you manage to keep a job when you keep asking such basic questions. At least you found the answer to one of your questions on your own.one would assume because a) everyone else is worse where they work or b) someone keeps answering the questions.
And the cat's in the cradle and the silver spoon
Little boy blue and the man in the moon
Or the alternative version
There's a cat in the kettle at the Peking Moon,
The place that I eat every day at noon.
Jason...AKA CirqueDeSQLeil
_______________________________________________
I have given a name to my pain...MCM SQL Server, MVP
SQL RNNR
Posting Performance Based Questions - Gail Shaw[/url]
Learn Extended Events
July 29, 2015 at 1:17 pm
And in breaking news...
The thread is about to turn 50,000.
Let the countdown begin.
Jason...AKA CirqueDeSQLeil
_______________________________________________
I have given a name to my pain...MCM SQL Server, MVP
SQL RNNR
Posting Performance Based Questions - Gail Shaw[/url]
Learn Extended Events
July 29, 2015 at 1:22 pm
SQLRNNR (7/29/2015)
And in breaking news...The thread is about to turn 50,000.
Let the countdown begin.
He he, C350 (50.000 in 0x), my favorite engine ever since the '67 Camaro:-D
😎
July 29, 2015 at 1:32 pm
Is it 50,000 yet?
July 29, 2015 at 1:33 pm
Is it now?
July 29, 2015 at 1:33 pm
Now?
Viewing 15 posts - 49,711 through 49,725 (of 66,712 total)
You must be logged in to reply to this topic. Login to reply