Viewing 15 posts - 10,891 through 10,905 (of 15,376 total)
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
I believe the article from Jeff Moden http://www.sqlservercentral.com/articles/T-SQL/71550/%5B/url%5D is exactly what you are looking for.
August 29, 2012 at 8:54 am
Actually I don't think your works Luis.
I added some more data and it doesn't do what the OP asked for originally.
;with MyRank (col1)
as
(
select 6 union all
select 5 union all
select 5...
August 29, 2012 at 8:35 am
Viewing 15 posts - 10,891 through 10,905 (of 15,376 total)