Viewing 15 posts - 10,891 through 10,905 (of 15,381 total)
chinye2020 (8/31/2012)
im using CTE read the most lowest member until top,but until top,need to read back the second top Commision,this is the problem
Your above explanation is totally unclear. Before anybody...
August 31, 2012 at 9:08 am
I agree with Chris. There is no need for dynamic sql for this at all. In fact, you should run away from the implementation you put together quickly. It is...
August 31, 2012 at 7:39 am
harri.reddy (8/30/2012)
its just in 1 sheet.yes prod1 is same, but i need uniques value from all 3 and put into 1 column in database
No offense harri but how do you...
August 30, 2012 at 2:43 pm
sql1411 (8/30/2012)
You have two rows here and one of them is the OriginalAircraftNumber and one becomes the FinalAircraftNumber. What can you...
August 30, 2012 at 2:33 pm
XMLSQLNinja (8/30/2012)
SELECTFlightDate,
FlightNumber,
ScheduleOrder,
MIN(AircraftNumber) OriginalAircraftNumber,
MAX(AircraftNumber) FinalAircraftNumber,
ChangeOfAircraftIndicator=
CASE
WHEN COUNT(ScheduleOrder)=1 THEN 'N' ELSE 'Y'
END
FROM [dbo].[DailySchedule]
GROUP BY FlightDate, FlightNumber, ScheduleOrder
ORDER BY FlightDate, FlightNumber, ScheduleOrder
This...
August 30, 2012 at 1:34 pm
christina.honnert (8/30/2012)
August 30, 2012 at 1:29 pm
christina.honnert (8/30/2012)
August 30, 2012 at 1:25 pm
david.holley (8/30/2012)
BEGIN TRAN
UPDATE
IF @@ERROR <> 0 GOTO ERR_HANDLER
DELETE
IF @@ERROR <> 0 GOTO ERR_HANDLER
DESTROY WORLD
IF @@ERROR <> 0...
August 30, 2012 at 1:20 pm
christina.honnert (8/30/2012)
Actually I have done that. However when I select that, nothing happens.
Did you run your query after changing that setting? It does not just save what is currently...
August 30, 2012 at 1:16 pm
To add to what Gail is saying not only do they not really exist the appearance of nested transactions can seem to work when everything goes smoothly but will cause...
August 30, 2012 at 1:06 pm
christina.honnert (8/30/2012)
1. Summarized Data
2. Detailed Data
3. Link...
August 30, 2012 at 1:01 pm
nice job posting ddl and sample data in a readily consumable format. It make a lot of difference for those of us willing to work on your issue. I think...
August 30, 2012 at 12:58 pm
Jo Pattyn (8/29/2012)
*edit* Not an...
August 29, 2012 at 3:06 pm
You are not too likely to find a lot of Oracle people around here since this is sql server forum. Even if you do, they will ask you for the...
August 29, 2012 at 2:27 pm
suman.mullapudi (8/29/2012)
I need to export some data from SQL Server (2008 R2) table to a text file. There are a few datatime data type columns in the sql table.
Here's...
August 29, 2012 at 1:42 pm
Viewing 15 posts - 10,891 through 10,905 (of 15,381 total)