Viewing 15 posts - 1,006 through 1,020 (of 1,246 total)
Eirikur Eiriksson (10/4/2015)
Thanks Jason, nice job testing this.😎
Thank you sir! 😀
One thing I did fail to point out that's probably worth mentioning...
It's not always desirable (or even acceptable) to do...
October 5, 2015 at 7:12 am
Alright... So instead of getting up a cutting the grass, I decided to do a little testing this morning...
For a test bench I used 1M rows generated by the script...
October 4, 2015 at 11:15 am
ben.brugman (10/2/2015)
And I wasn't clear enough in my question.
Because I want the code to cut and paste between the...
October 3, 2015 at 5:34 pm
gcombina 73810 (10/2/2015)
Thank youI will take that into account. Its Khanacademy.com
Do you recommend a better site to learn? How do I learn?
If that's what they're using as educational material... I'd...
October 3, 2015 at 5:22 pm
For converting row data into a concatenated string, FOR XML is as good as it gets in SQL Server.
The real performance problem, in your current code, is that you're executing...
October 3, 2015 at 12:15 pm
Eirikur Eiriksson (10/3/2015)
Jason A. Long (10/3/2015)
I have to confess that I'm baffled by optimizer's ability to do an index seek...
October 3, 2015 at 11:55 am
Looks like a huge waste of space not to mention a gross violation of the 1st normal form. The queries that would be need to be used to parse those...
October 3, 2015 at 9:36 am
Eirikur - I'm with Chris on this one... VERY slick solution.
I have to confess that I'm baffled by optimizer's ability to do an index seek with leading wildcards. That really...
October 3, 2015 at 9:19 am
ChrisM@Work (10/2/2015)
Jason A. Long (10/1/2015)
Also note that you will need to look at the Actual execution plan to see the plan change. The Estimated plan will continue to show the...
October 2, 2015 at 6:25 am
Code like the following can be an absolute killer because the optimizer will always assume the worst case scenario and force a index scan when it would otherwise be able...
October 1, 2015 at 2:18 pm
If you're willing to spend a few $$$, Redgate's SQL Prompt[/url] adds this functionality (and more).
September 30, 2015 at 11:45 am
wendy elizabeth (9/25/2015)
where ISNULL(I.Active, 0) = 1 AND ISNULL(AN.AccountNumber,0) IN (@Account).
Would you tell me what the ISNUll function...
September 25, 2015 at 10:23 am
Another option...
DECLARE @table TABLE(ID int, value decimal (3,1))
INSERT @table
SELECT 1111,14.0 UNION ALL
SELECT 1111,14.0 UNION ALL
SELECT 2222,13.0 UNION ALL
SELECT 2222,13.0 UNION ALL
SELECT 3333,15.0 UNION ALL
SELECT 3333,11.0 UNION ALL
SELECT 4444,12.0 UNION ALL
SELECT...
September 24, 2015 at 7:58 am
Just need to change
where (YesNo=@YesNo or @YesNo=null)
to this...
where (YesNo=@YesNo or @YesNo IS NULL)
OPTION(RECOMPILE);
September 23, 2015 at 8:58 am
drew.allen (9/22/2015)
September 22, 2015 at 2:33 pm
Viewing 15 posts - 1,006 through 1,020 (of 1,246 total)