Viewing 15 posts - 50,596 through 50,610 (of 59,091 total)
Yes, a cursor can have a join to multiple tables in it... but using a cursor is usually a mistake.
Store procs don't have to return anything... functions do.
These are sweeping...
--Jeff Moden
Change is inevitable... Change for the better is not.
May 12, 2008 at 10:17 pm
... an unless you've made the server case sensitive, there's no need for UPPER anywhere in the query.
--Jeff Moden
Change is inevitable... Change for the better is not.
May 12, 2008 at 10:09 pm
Google for ...
sp_MSForEachDB
sp_MSForEachTable
--Jeff Moden
Change is inevitable... Change for the better is not.
May 12, 2008 at 10:04 pm
Heh... two way street here... would you mind posting your solution, please? 😉
--Jeff Moden
Change is inevitable... Change for the better is not.
May 12, 2008 at 10:01 pm
I'll second that... just remember that they teach ANSI SQL... nothing really advanced.
--Jeff Moden
Change is inevitable... Change for the better is not.
May 12, 2008 at 10:00 pm
How many words are in HTMLBody and can I see an example of 10 rows, please?
--Jeff Moden
Change is inevitable... Change for the better is not.
May 12, 2008 at 9:54 pm
I'd convert all of the WHERE IN's to proper joins and see if the proper indexes are in place. I'd also use a SELECT list instead of * to...
--Jeff Moden
Change is inevitable... Change for the better is not.
May 12, 2008 at 9:30 pm
It's the leading comma from the XML concatenation that they're trying to get rid of.
--Jeff Moden
Change is inevitable... Change for the better is not.
May 12, 2008 at 9:24 pm
My guess would be that returning nearly 2 million rows of a really wide table to the client has driven the client into the "swap file" mode, even if the...
--Jeff Moden
Change is inevitable... Change for the better is not.
May 12, 2008 at 9:22 pm
A better question is why would anyone use a character based datatype to store a "Load time"?
--Jeff Moden
Change is inevitable... Change for the better is not.
May 12, 2008 at 9:12 pm
Just an opinion... auto grow of 1MB is too small and auto grow of 10% will create 73 fragments just getting to 1 gig from the default starting size of...
--Jeff Moden
Change is inevitable... Change for the better is not.
May 12, 2008 at 9:07 pm
The only index you can put on a table variable, is a Primary Key.
--Jeff Moden
Change is inevitable... Change for the better is not.
May 12, 2008 at 9:01 pm
Through a bunch of testing across many many threads on this forum, I've found that, with the exception of RegEx replace, someone knowledgeable in the fine art of T-SQL can...
--Jeff Moden
Change is inevitable... Change for the better is not.
May 12, 2008 at 9:00 pm
Peso (5/12/2008)
Michaels suggestion runs in 334 seconds and needs 572,852 reads.
The SQL Server...
--Jeff Moden
Change is inevitable... Change for the better is not.
May 12, 2008 at 8:50 pm
Theanks for the feedback, Ted... I'll add those to the list of reasons why I don't use DTS or SSIS 😀
--Jeff Moden
Change is inevitable... Change for the better is not.
May 12, 2008 at 8:15 pm
Viewing 15 posts - 50,596 through 50,610 (of 59,091 total)