Viewing 15 posts - 55,111 through 55,125 (of 59,072 total)
Oh yeah... almost forgot this... and speaking of "Thinking in Sets", Joe, you might want to include this in your new book... just because something is sans-loop, doesn't mean it's...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 8, 2007 at 9:40 pm
Yeah... how 'bout that? I'm thinking that a couple of us on this forum should get together and write our own book... one that has some useful info ![]()
--Jeff Moden
Change is inevitable... Change for the better is not.
September 8, 2007 at 7:04 pm
As a bit of a sidebar... why is it necessary to create a table named after a month and year??? ![]()
--Jeff Moden
Change is inevitable... Change for the better is not.
September 8, 2007 at 7:02 pm
NULL concatenated with anything is still NULL if the default setting of "Concatenate Null Yields Null" was left on... so this simple ditty will do the job you asked...
IsNull(@RbrComm+CHAR(13)+CHAR(10),'')
--Jeff Moden
Change is inevitable... Change for the better is not.
September 8, 2007 at 6:58 pm
ETL the "code" to a spreadsheet? Why would you do that? You'd ETL the query results to a spreadsheet... not the code. ![]()
As I...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 8, 2007 at 9:49 am
Hmmm... let's see...
Oracle protects me by doing an auto-commit if I happen to mix some DDL in a proc. Really helpful there. With SQL Server explicit transactions, I have to...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 8, 2007 at 8:58 am
Who are you? Why, you're part of a TEAM... and the TEAM failed. You're not just another developer if you were part of the interviewing TEAM. You should have asked...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 8, 2007 at 8:02 am
Oh well, I tried... looks like yet another newbie got what they wanted but not what they needed... knowledge ![]()
Peso, ol' friend... if you...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 8, 2007 at 1:02 am
P.S. Increasing the number of rows to 30,000 (just added 50% more rows), caused the time on the first running total example to more than double at 4 minutes and...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 8, 2007 at 12:57 am
Karthik,
I don't mean to sound so cynical about all the "experts"... wait, no... I do
But no one teaches the "basics" anymore. I...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 8, 2007 at 12:04 am
Oh, I dunno... I've seen those blogs and many more... they go on about how to configure hardware, how to split TempDB, how to defrag indexes, how to use (too...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 7, 2007 at 10:33 pm
Nah...too simple and way too fast... interferes with Scotch drinking time... create a double nested cursor to slow it down ![]()
--Jeff Moden
Change is inevitable... Change for the better is not.
September 7, 2007 at 10:23 pm
Yes, you can... best way to learn this one is to look up CREATE PROCEDURE in Books Online and read about it ![]()
--Jeff Moden
Change is inevitable... Change for the better is not.
September 7, 2007 at 10:17 pm
You bet, Mick. Thanks for the feedback...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 7, 2007 at 10:08 pm
This is an SQL Server 2000 forum... and there's no UNPIVOT in SQL Server 2000 ![]()
--Jeff Moden
Change is inevitable... Change for the better is not.
September 7, 2007 at 10:07 pm
Viewing 15 posts - 55,111 through 55,125 (of 59,072 total)