Viewing 15 posts - 9,196 through 9,210 (of 9,641 total)
[qoute]Just noticed that was a new one. I keep doing that these last few days (spewing out info on the wrong version)[/quote]
Yeah and another version coming this fall.
February 27, 2008 at 6:35 am
Michael,
You are correct. You have to go with derived tables on 2000 as CTE's were introduced in 2005.
Jeff,
Always appreciate some code review:P
February 27, 2008 at 6:33 am
Lynn,
Thanks for the kind words. I definitely have looked for help on this site, although usually for SSIS, Design, or Admin advice. I can usually put a hack...
February 26, 2008 at 12:49 pm
Lynn,
All true, and are the reasons why I try to be very specific when I post a problem. Sometimes I am even a little too verbose.
BTW, my...
February 26, 2008 at 11:33 am
I'd tell you why if I knew the question. Well I was a little late on the submit. Anyway Matt is right it looks like it should work,...
February 26, 2008 at 11:28 am
the only way a tx log can grow is through use. At least as far as I know. I would profile the server to verify that there is no use...
February 26, 2008 at 11:18 am
Jeff Moden (2/26/2008)
darkins (2/26/2008)
I am not the greatest TSQL guy (not even the not so greatest) so here is a question.
I have two tables. One has 1 "A" Record (table...
February 26, 2008 at 11:05 am
Lynn Pettis (2/26/2008)
Jeff Moden (2/26/2008)
Lynn Pettis (2/26/2008)
This may not answer your question, but it may help you figure out what you need to doNice!
Jeff,
Thanks for the comment. Sometimes it...
February 26, 2008 at 11:02 am
msaint (2/26/2008)
February 26, 2008 at 11:00 am
Does the vendor still exist? Since they are suggesting a move to MySQL I assume they do, and since they do and they sold the product as working with...
February 26, 2008 at 9:14 am
I always assume that the OP posted in the correct forum and this is a SQL 7, 2000 forum. So I try to answer using methods available on that...
February 26, 2008 at 9:10 am
Here is what I would do:
Create View room_occupancy
As
With occupancy AS
(
Select
O.room,
O.room_date as check_in,
O.in_out as occupants,
IsNull((select min(room_date) from rooms Where room = O.room and in_out O.room_date), O.room_date + 1) as...
February 26, 2008 at 9:07 am
I would definitely call this a complex query as basically you want to "pivot" the data and SQL 7, 2000 do not do this natively. In Standard SQL a...
February 26, 2008 at 7:48 am
but the RS doesnt allow me to do so
I'm not sure what you mean by this. Do you mean that you can't set the parameter to allow...
February 26, 2008 at 7:33 am
With only 1 row being returned you may want to use a datareader. It takes fewer resources than a dataset.
February 26, 2008 at 6:02 am
Viewing 15 posts - 9,196 through 9,210 (of 9,641 total)