Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR TYPESCRIPT

Check if value exisits update or insert sQL

IF EXISTS (SELECT * FROM Bookings WHERE FLightID = @Id)
BEGIN
    --UPDATE HERE
END
ELSE
BEGIN
   -- INSERT HERE
END
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #Check #exisits #update #insert #sQL
ADD COMMENT
Topic
Name
5+4 =