Viewing 15 posts - 34,606 through 34,620 (of 59,099 total)
You cannot do a caclulation directly in the parameter of a stored proc. Precalculate the value in a vaiable and then use that variable.
--Jeff Moden
Change is inevitable... Change for the better is not.
March 15, 2011 at 12:56 pm
jason-772533 (3/15/2011)
It'll probably take me a little time to figure out exactly how it does it, but I'm sure I'll get there.
Hi Jason,
Lutz provided a link to an article which...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 15, 2011 at 6:12 am
It'll be my pleasure to take a gander and maybe run some code, Craig. Lemme know. Actually, you could do the same for me soon and if you...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 14, 2011 at 10:15 pm
Craig Farrell (3/13/2011)
Jeff Moden (3/13/2011)
Craig Farrell (3/13/2011)
--Jeff Moden
Change is inevitable... Change for the better is not.
March 14, 2011 at 9:58 pm
Craig Farrell (3/14/2011)
AH! Legal Pyramid Schemes! Gotcha!
Heh... I have mixed emotions about them. The ones that run a Uni-Level payout matrix and require you to sell product...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 14, 2011 at 9:52 pm
Craig Farrell (3/14/2011)
A bit ignorant here, what's an MLM?
Multi-Level Marketing. Think, Amway, ACN, Avon, and a whole host of other companies similar in nature.
--Jeff Moden
Change is inevitable... Change for the better is not.
March 14, 2011 at 8:55 pm
Agreed except that you'll also need either a BCP format file or an insertable view to skip the defaulted column.
--Jeff Moden
Change is inevitable... Change for the better is not.
March 14, 2011 at 4:42 pm
That would probably be more trouble than it's worth. See the following article on one method to concatenate and some of the performance caveats for SQL Server 2000.
http://www.sqlservercentral.com/articles/Test+Data/61572/
--Jeff Moden
Change is inevitable... Change for the better is not.
March 14, 2011 at 4:41 pm
IIRC, the resolution of some of the new datetime function in 2k8 has a much better resolution.
--Jeff Moden
Change is inevitable... Change for the better is not.
March 14, 2011 at 4:30 pm
Michael Meierruth (3/14/2011)
Numbers please!
Thus for a large telephone company I deal with, I have a table...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 14, 2011 at 4:28 pm
CirquedeSQLeil (3/14/2011)
Jeff Moden (3/14/2011)
CirquedeSQLeil (3/14/2011)
Jeff Moden (3/10/2011)
CirquedeSQLeil (3/10/2011)
--Jeff Moden
Change is inevitable... Change for the better is not.
March 14, 2011 at 1:23 pm
sean-495500 (3/14/2011)
--Jeff Moden
Change is inevitable... Change for the better is not.
March 14, 2011 at 1:19 pm
I'll add that if you're doing DELETEs rather than TRUNCATE as part of the data move, the table could end up having a fair bit of "white space" in it...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 14, 2011 at 11:15 am
I agree. Maybe there's not even the need to move the post now that we know which version it's for unless someone else may be looking for such a...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 14, 2011 at 11:08 am
CirquedeSQLeil (3/14/2011)
Jeff Moden (3/10/2011)
CirquedeSQLeil (3/10/2011)
Nice article Jeff. I have used a very similar method to this for very large hierarchies. Nice examples and well explained and illustrated.
Thank you,...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 14, 2011 at 11:03 am
Viewing 15 posts - 34,606 through 34,620 (of 59,099 total)