Viewing 15 posts - 46,831 through 46,845 (of 59,101 total)
John Barry (12/3/2008)
So are you saying that instead of creating a row at a time in the live table, stamping each one with a sequence number as you insert it,...
--Jeff Moden
Change is inevitable... Change for the better is not.
December 3, 2008 at 7:13 pm
Yes... everything is possible... but what are you going to do if there are 40 rooms on the same floor?
--Jeff Moden
Change is inevitable... Change for the better is not.
December 3, 2008 at 6:57 pm
umanpowered (12/3/2008)
rbarryyoung (11/3/2008)
As Jonathan said: "getdate()" needs to be the definition of the column's default value, and not the definition of the column itself.
Hi,
As a side question, do you know...
--Jeff Moden
Change is inevitable... Change for the better is not.
December 3, 2008 at 6:52 pm
David Leaver (12/3/2008)
Here's the scenario - I'm taking an existing procedure that historically...
--Jeff Moden
Change is inevitable... Change for the better is not.
December 3, 2008 at 6:41 pm
Trebuchet... the ultimate pork chop launcher... can launch the whole pig and makes statements followed by "When pigs fly" come absolutely true. 😛
--Jeff Moden
Change is inevitable... Change for the better is not.
December 3, 2008 at 6:37 pm
I see a bunch of stuff in that code snippet that I think is working against you. Please post the real table creationtion statement for the table you're deleting...
--Jeff Moden
Change is inevitable... Change for the better is not.
December 3, 2008 at 6:20 pm
I solved a post, last night, using the SIGN function instead of CASE for a pretty good performance gain. It reminded me of what my original programming mentor taught...
--Jeff Moden
Change is inevitable... Change for the better is not.
December 3, 2008 at 3:59 pm
ishaan99 (12/3/2008)
Thanks Guys i used the charindex without sign function to resolve this. Thanks for everybody;s input.
You bet... thanks for the feedback.
--Jeff Moden
Change is inevitable... Change for the better is not.
December 3, 2008 at 3:50 pm
Bob Hovious (12/3/2008)
--Jeff Moden
Change is inevitable... Change for the better is not.
December 3, 2008 at 3:49 pm
mlandry (12/3/2008)
Whoa, using SQL to do cross-tabs really is "old school" (circa mid-90's or before.) It just wasn't designed for this.
Do yourself a BIG favor and try Analysis Services....
--Jeff Moden
Change is inevitable... Change for the better is not.
December 3, 2008 at 9:41 am
ggraber (12/3/2008)
Great article Jeff!Do you think this will perform better than a dynamic pivot?
Thanks for the feedback and absolutely! 🙂
--Jeff Moden
Change is inevitable... Change for the better is not.
December 3, 2008 at 8:25 am
Thanks for the great feedback Anirban. Great to know that folks get things out of these articles. 🙂
--Jeff Moden
Change is inevitable... Change for the better is not.
December 3, 2008 at 8:00 am
Chirag (12/3/2008)
Another masterpiece.Small typo -
You have a single quote missing at the end of the date for the code under OLD fashioned swap.
"SET @EndDate = '2008-01-15 "
Thanks...
--Jeff Moden
Change is inevitable... Change for the better is not.
December 3, 2008 at 5:03 am
Is this what you want?
--===== Declare local files
--Jeff Moden
DECLARE @DBID INT
DECLARE @DBName VARCHAR(30)
DECLARE @Text ...
--Jeff Moden
Change is inevitable... Change for the better is not.
December 2, 2008 at 10:57 pm
fausto usme (12/2/2008)
Hello People,i need to do the next.
Why? What's the goal or business rule other than someone said they wanted it?
--Jeff Moden
Change is inevitable... Change for the better is not.
December 2, 2008 at 10:52 pm
Viewing 15 posts - 46,831 through 46,845 (of 59,101 total)