Viewing 15 posts - 1,831 through 1,845 (of 8,731 total)
If the path has spaces, use double quotes around it.
November 22, 2016 at 6:51 am
Once again, J.Celko was able to confuse instead of helping. He's absolutely correct, the MAX() function will be evaluated once within the scope of the query. The problem is that...
November 21, 2016 at 1:18 pm
andis59 (11/21/2016)
MMartin1 (11/21/2016)
The MAX(rowCreatedDT) is only scanning the table once!
There is a button in your SSMS window that displays "include actual execution plan" when you hover over it. You push...
November 21, 2016 at 12:53 pm
drew.allen (11/21/2016)
sharonmtowler (11/21/2016)
THIS WORKED LIKE A CHARM !!
It may have "worked" but it is likely to perform horribly. You should compare it to LEAD/LAG before settling on that as...
November 21, 2016 at 12:46 pm
djj (11/21/2016)
whereisSQL? (11/21/2016)
Revenant (11/21/2016)
djj (11/21/2016)
whereisSQL? (11/21/2016)
Manic Star (11/21/2016)
Ed Wagner (11/21/2016)
Brandie Tarvin (11/21/2016)
BWFC (11/21/2016)
Grumpy DBA (11/21/2016)
BWFC (11/21/2016)
Ed Wagner (11/21/2016)
firemanbens6 (11/18/2016)
Ed Wagner (11/18/2016)
SnakePlissken
New York
New York
Escape
Character
Search
Seek
Scan
Ink
Jet
Ace
High
Mile
November 21, 2016 at 10:44 am
You could try using bcp, which could be called with xp_cmdshell.
Another option is to change the process and use SSIS.
November 21, 2016 at 10:25 am
You could also try a cross tabs approach.
SELECT BUSINESS_NAME,
CONTRACT_CATEGORY,
SUM( CASE WHEN NAME = 'RX' THEN VALUE ELSE 0 END) AS RX,
...
November 21, 2016 at 9:51 am
CELKO (11/21/2016)
If you want to have a set of scaler values in a query, then you need to put them in a table or a table constructor.
The OP is asking...
November 21, 2016 at 8:44 am
Here's an option on how to get all the orphans and their children.
declare @Sample table (L1 int, L2 int, L3 int, L4 int, ID int, description varchar(100))
Insert Into @Sample...
November 21, 2016 at 8:41 am
Eirikur Eiriksson (11/21/2016)
Steve Thompson-454462 (11/21/2016)
Eirikur Eiriksson (11/20/2016)
Budd (11/18/2016)
WOW!!!So very many possibilities, and so much to consider..
Quick questions, can you use Table Variable Parameter? How wide are the largest values passed?...
November 21, 2016 at 8:13 am
Iwas Bornready (11/21/2016)
I enjoyed reading your article, reminding me of some of the odd nuances of pattern matching.
Thank you for the feedback.
If you have some interesting examples, it would be...
November 21, 2016 at 8:08 am
h.tobisch (11/18/2016)
that's why i read this article.
Could not find more of an...
November 21, 2016 at 8:05 am
Phil Parkin (11/21/2016)
Ed Wagner (11/21/2016)
Jeff Moden (11/21/2016)
November 21, 2016 at 7:59 am
Christy M (11/18/2016)
Great article. And I love the Sesame Street reference 😀
I'm glad that you liked it. Thank you for the feedback.
November 21, 2016 at 7:54 am
Viewing 15 posts - 1,831 through 1,845 (of 8,731 total)