Viewing 15 posts - 58,411 through 58,425 (of 59,099 total)
Not sure why you'd want to do that when a good maintenance plan will achieve the same result of having properly ordered and defragmented indexes. So, I have to ask,...
--Jeff Moden
Change is inevitable... Change for the better is not.
February 27, 2006 at 9:02 pm
Verrryyyy nice, David... One of the better articles I've seen on this type of stuff. And, if someone takes the time to read it, there are all sorts of goodies...
--Jeff Moden
Change is inevitable... Change for the better is not.
February 27, 2006 at 6:52 am
Right on, Serqiy...
--Jeff Moden
Change is inevitable... Change for the better is not.
February 26, 2006 at 9:02 pm
I agree but...
I've found that when the "boss", who doesn't really know how to use a spreadsheet, says he wants to open the result set using Excel from a CSV...
--Jeff Moden
Change is inevitable... Change for the better is not.
February 26, 2006 at 8:57 pm
...and, if you do write the TEXT out to a text file for execution, use OSQL instead of ISQL because ISQL is deprecated compared to OSQL.
Just an opinion but both...
--Jeff Moden
Change is inevitable... Change for the better is not.
February 26, 2006 at 8:48 pm
I had a feeling you were one of the smart ones.
Thanks for the feedback.
--Jeff Moden
Change is inevitable... Change for the better is not.
February 26, 2006 at 8:36 pm
Actually, I believe the smart quotes are CHAR(147) and CHAR(148)... run the following in Query Analyzer and see if you agree...
PRINT CHAR(147)
PRINT CHAR(148)
PRINT CHAR(143)
PRINT CHAR(146)
PRINT ASCII('“')...
--Jeff Moden
Change is inevitable... Change for the better is not.
February 26, 2006 at 12:40 pm
Howdy Jeff,
You may want to consider using a temp table instead of a table variable here... table variables don't use statistics so they're inherently slower... both temp tables and table variables...
--Jeff Moden
Change is inevitable... Change for the better is not.
February 25, 2006 at 9:49 pm
Daaaannnngggg.... Guess I'll stick with plain ol' English, SQL, and some pig-latin....
--Jeff Moden
Change is inevitable... Change for the better is not.
February 23, 2006 at 9:24 pm
Vladan,
Thank you very much for taking the time to explain all this because it's very interesting. I do have to ask... are you a linguist or just really well...
--Jeff Moden
Change is inevitable... Change for the better is not.
February 23, 2006 at 6:50 pm
That's ok... I guess I'm pretty happy that American English is my native language
except for the fact that words like "Dude" have about 32...
--Jeff Moden
Change is inevitable... Change for the better is not.
February 22, 2006 at 11:02 pm
Cedar72,
Good find... I'm amazed at how comparitively fast this one is compared to the other methods I've seen (recursion is cool)... returns 10000 records in a little over 3 seconds...
--Jeff Moden
Change is inevitable... Change for the better is not.
February 22, 2006 at 6:59 am
Even QUOTENAME comes up with the same problem...
When you want to make a single quote part of the text to be inserted, you have to use two of them side...
--Jeff Moden
Change is inevitable... Change for the better is not.
February 21, 2006 at 7:33 pm
Scott...
What editor are you using? Thanks...
--Jeff Moden
Change is inevitable... Change for the better is not.
February 21, 2006 at 7:29 pm
Neel,
What is the primary key for the table and... do you have something like a "DateEntered" column or an autonumbering column in the mix? If so, do you want to...
--Jeff Moden
Change is inevitable... Change for the better is not.
February 21, 2006 at 7:25 pm
Viewing 15 posts - 58,411 through 58,425 (of 59,099 total)