Viewing 15 posts - 32,176 through 32,190 (of 59,099 total)
Dev @ +91 973 913 6683 (10/19/2011)
Please don't forget to follow the discussion.I cringe every time I see a recommendation for xp_cmdshell.
Yes... please follow ALL of the discussion because...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 24, 2011 at 5:22 pm
I'm not 100% sure about SSIS but, from what I've read, you should be able to use "%[0-9]%" as the "search string" in FINDSTRING. Of course, you'd use 1...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 24, 2011 at 4:55 pm
mnicholas (10/24/2011)
SELECT distinct ...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 24, 2011 at 4:43 pm
sqlfriends (10/24/2011)
I need to convert yesterday's date from getdate()-1 to something like 20111023.
I have to ask "Why?"... What are you going to do with it after you do the conversion?...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 24, 2011 at 4:37 pm
Elliott Whitlow (10/24/2011)
--Jeff Moden
Change is inevitable... Change for the better is not.
October 24, 2011 at 4:25 pm
Mike Usoffski (10/24/2011)
This is a small part of major data scrubbing/cleansing within 2000 --> 2K8 R2 migration project.
The plan was to leave "dups" behind on a SQL 2000 side....
--Jeff Moden
Change is inevitable... Change for the better is not.
October 24, 2011 at 1:53 pm
patrickmcginnis59 (10/24/2011)
--Jeff Moden
Change is inevitable... Change for the better is not.
October 24, 2011 at 1:22 pm
patrickmcginnis59 (10/24/2011)
...dreaded xp_cmdshell...
Heh... "dreaded". I love xp_CmdShell. 🙂
--Jeff Moden
Change is inevitable... Change for the better is not.
October 24, 2011 at 11:02 am
Jack Corbett (10/24/2011)
I have a question. Why the TABLOCKX hint on the temp table? What does it give you that the QP/QO wouldn't do anyway?
It's a small "speed...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 24, 2011 at 10:59 am
On that note... do what I do... I trust no one's article. I test the heck out of their claims using my own code. In truth, you shouldn't...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 24, 2011 at 7:08 am
HowardW (10/24/2011)
Just came across this:http://sqlserverboost.info/?p=204
Complete plagiarism, yes?[/url]
The rest of the site content looks equally dubious.
Google for the phrase "In my experience, every DBA has his own mental checklist"... which comes...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 24, 2011 at 5:10 am
dva2007 (10/24/2011)
thanks jeff & gail.I had a quick look at this article before couple of years which made my wrong impression about select into.
http://searchsqlserver.techtarget.com/tip/Tricks-to-increase-SQL-Server-query-performance
Many thanks for the clarification.
Ah......
--Jeff Moden
Change is inevitable... Change for the better is not.
October 24, 2011 at 4:56 am
My pleasure and thank you for the kudo.
Of more immediate concern is, have you studied the code, know how it works, or have any questions about how it works? ...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 24, 2011 at 4:35 am
SARG stands for "Search ARGument" and "SARGable" has come to mean that the search arguments in a WHERE clause, ORDER BY, and/or ON clause are capable of doing an INDEX...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 24, 2011 at 4:31 am
andre-394971 (10/23/2011)
I have tried the pivot table approach but neither column lends itself to an aggregate function and unfortunatly my skill set with SQL is limited
Heh... use MAX instead... it's...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 23, 2011 at 8:51 pm
Viewing 15 posts - 32,176 through 32,190 (of 59,099 total)