Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- USE [Tomasos]
- GO
- /****** Object: StoredProcedure [dbo].[createOrder] Script Date: 2015-09-03 10:14:14 ******/
- SET ANSI_NULLS ON
- GO
- SET QUOTED_IDENTIFIER ON
- GO
- ALTER procedure [dbo].[createOrder]
- @bestallningDatum datetime,
- @totalBelopp int,
- @levererad bit,
- @kundID int ,
- @output int output
- as
- insert into Bestallning (BestallningDatum, Totalbelopp, Levererad, KundID)
- values (@bestallningDatum, @totalBelopp, @levererad, @kundID)
- set @output = scope_identity()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement