Viewing 15 posts - 52,846 through 52,860 (of 59,072 total)
ALZDBA (1/17/2008)
btw the common table expression I like most is a round of beers :w00t:(expressing friendship). :smooooth:
Definitely a kindred spirit... round of beers... motorcycle for an avatar...
--Jeff Moden
Change is inevitable... Change for the better is not.
January 17, 2008 at 7:03 pm
sqluser (1/17/2008)
Hi Sandy,Try out this ....
SELECT EXP(SUM(LOG(SID))) FROM #t
😛
Man, some people just don't get it... Who's goin' for the...
--Jeff Moden
Change is inevitable... Change for the better is not.
January 17, 2008 at 12:56 am
What other post? Post the URL so I don't have to look for it. 😉
On the homework, the method that Adam is leaning towards is not the method your...
--Jeff Moden
Change is inevitable... Change for the better is not.
January 17, 2008 at 12:41 am
Sandy (1/17/2008)
Jeff,he he he..lolz...:P ....
Now you will tell me....hee hee ..in my shop.....;)
Please Tell me the Answer,
Jeff, Is it possible or Not?
Please ....
Cheers!
Sandy.
Heh... in my shop, I tell people...
--Jeff Moden
Change is inevitable... Change for the better is not.
January 17, 2008 at 12:20 am
Answer the question, Sandy... what do you need this for? "Its one of the requirement" isn't an answer. It's homework, isn't it?
--Jeff Moden
Change is inevitable... Change for the better is not.
January 16, 2008 at 11:49 pm
Actually, this looks like a standard "factorial" homework problem. What do you need this for?
--Jeff Moden
Change is inevitable... Change for the better is not.
January 16, 2008 at 11:22 pm
midan1 (1/16/2008)
like this
begin
-- loop to insert date backward
while
@end_date>=@start_Date
begin
INSERT INTO @tb_temp
from middle of the month to end of the month
serial date
------------------------------
1 19/03/2008
2 18/03/2008
3...
--Jeff Moden
Change is inevitable... Change for the better is not.
January 16, 2008 at 10:56 pm
Squirrel and S. Blvd...
We should get together sometime and do a couple of 12 oz. curls...
--Jeff Moden
Change is inevitable... Change for the better is not.
January 16, 2008 at 9:58 pm
David Jackson (1/15/2008)
You can use a function with no cursor for this...
Nicely done, Dave...
--Jeff Moden
Change is inevitable... Change for the better is not.
January 16, 2008 at 9:08 pm
PW (1/15/2008)
--Jeff Moden
Change is inevitable... Change for the better is not.
January 16, 2008 at 9:02 pm
Wayne West (1/15/2008)
--Jeff Moden
Change is inevitable... Change for the better is not.
January 16, 2008 at 9:00 pm
Good luck with that... does TeraData use the same date functions as T-SQL?
--Jeff Moden
Change is inevitable... Change for the better is not.
January 16, 2008 at 8:53 pm
Hey Kevin Boles! Here's your chance, buddy... show us what you've got! 😉
--Jeff Moden
Change is inevitable... Change for the better is not.
January 16, 2008 at 8:49 pm
The error occurs because a variable can contain only one value... the unions return more than 1 value.
The option of using a table variable is good.
--Jeff Moden
Change is inevitable... Change for the better is not.
January 16, 2008 at 8:43 pm
Ummm.... wanna tell us what your mistake was, please?
--Jeff Moden
Change is inevitable... Change for the better is not.
January 16, 2008 at 8:14 pm
Viewing 15 posts - 52,846 through 52,860 (of 59,072 total)