Viewing 15 posts - 10,681 through 10,695 (of 13,879 total)
First of all, thanks Dwain for doing the testing & suggesting your own solution.
ChrisM - think you've got some tuning to do 🙂
just as a side dish ... why is...
June 28, 2012 at 1:43 am
Adi Cohn-120898 (6/25/2012)
;with MyCTE as (
select HotelId, RoomTypeId, cast (DateKey as char(8)) as DateKey, FreeCount,
row_number() over (partition by RoomTypeId, case when FreeCount = 0 then 0...
June 25, 2012 at 6:52 am
Jan.Sundbye (6/25/2012)
Jan.Sundbye (6/8/2012)
June 25, 2012 at 6:20 am
Excellent, thanks guys. Both ways look good to me - as I expand the problem into the real world, I'll assess which fits best.
June 25, 2012 at 5:47 am
Ally Abbas (6/22/2012)
Unfortunately guys, several time I x-checked the source table. No duplicate was found.
Apologies if this is obvious, but you're not looking for a full duplicate. Just a duplicate...
June 22, 2012 at 6:32 am
Koen Verbeeck (6/22/2012)
The first row inserts fine but at the second row you get the unique key violation error.
When you...
June 22, 2012 at 5:39 am
As my Friday good-deed service to lazy people, here's that link again but with URL tags added:
June 22, 2012 at 5:17 am
June 20, 2012 at 7:20 am
Everyone who fought the Nazis, including internal rebels within Germany, took risks. The article doesn't say "Americans beat the Nazis", it says people who took risks did that. And I...
June 19, 2012 at 11:55 am
Please detail what is wrong with Cold Coffee's solution.
June 19, 2012 at 3:40 am
IceDread (6/19/2012)
Phil Parkin (6/19/2012)
IceDread (6/19/2012)
June 19, 2012 at 3:20 am
..I would probably select all to output somewhere (csv file, table etc) and if not maybe either output what ...
If you don't know what you want, what chance do we...
June 19, 2012 at 2:49 am
julian.fletcher (6/19/2012)
"Or defeated the Nazis."Wow - that's some achievement! Did you need any help doing that?
I think that some Canadians might have been involved too.:rolleyes:
June 19, 2012 at 2:36 am
IceDread (6/19/2012)
June 19, 2012 at 12:52 am
Please provide sample data and sample desired results so that we can understand your requirements better.
June 18, 2012 at 10:12 am
Viewing 15 posts - 10,681 through 10,695 (of 13,879 total)