Viewing 15 posts - 52,876 through 52,890 (of 59,098 total)
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
Why are you getting deadlock timeout errors? Because when a deadlock occurs, there's always a victim...
There really way to much to explain about deadlocks here... you really need to...
--Jeff Moden
Change is inevitable... Change for the better is not.
January 16, 2008 at 7:44 pm
The folks that gave those types of answers didn't help?
--Jeff Moden
Change is inevitable... Change for the better is not.
January 16, 2008 at 7:32 pm
See?
--Jeff Moden
Change is inevitable... Change for the better is not.
January 16, 2008 at 7:28 pm
Johan Kempe (1/16/2008)
Well that post was a lot of talk and nothing of interest.. just a notice of the obvious, disappointing read from an usually interesting writer.
Heh... it's an "editorial"......
--Jeff Moden
Change is inevitable... Change for the better is not.
January 16, 2008 at 5:09 pm
Viewing 15 posts - 52,876 through 52,890 (of 59,098 total)