Dear sir
We are doing this way..thus we are getting Deadlock/Time out error is any other option
DELETE FROM <Table> WHERE AirlinesId = @AirlinesId AND Origin = @Origin AND Destination = @Destination AND FlightNumber = @FlightNumber AND
DepartureDate = @DepartureDate AND ClassCode = @ClassCode
INSERT INTO <Table>
(
AirlinesId,
Origin,
Destination,
DepartureDate,
FlightNumber,
ClassCode,
AdultTax,
ChildTax,
InfantTax,
Others1,
Others2,
Others3,
Trandate
)
VALUES
(
@AirlinesId,
@Origin,
@Destination,
@DepartureDate,
@FlightNumber,
@ClassCode,
@AdultTax,
@ChildTax,
@InfantTax,
@Others1,
@Others2,
@Others3,
Getdate()
)
kindly advise
We are doing this way..thus we are getting Deadlock/Time out error is any other option
DELETE FROM <Table> WHERE AirlinesId = @AirlinesId AND Origin = @Origin AND Destination = @Destination AND FlightNumber = @FlightNumber AND
DepartureDate = @DepartureDate AND ClassCode = @ClassCode
INSERT INTO <Table>
(
AirlinesId,
Origin,
Destination,
DepartureDate,
FlightNumber,
ClassCode,
AdultTax,
ChildTax,
InfantTax,
Others1,
Others2,
Others3,
Trandate
)
VALUES
(
@AirlinesId,
@Origin,
@Destination,
@DepartureDate,
@FlightNumber,
@ClassCode,
@AdultTax,
@ChildTax,
@InfantTax,
@Others1,
@Others2,
@Others3,
Getdate()
)
kindly advise
baskarlakshmi