f0bea75284
All the changes necessary to save shopping cart to DB
14 lines
300 B
Transact-SQL
14 lines
300 B
Transact-SQL
CREATE PROCEDURE [dbo].[spSaleDetailInsert]
|
|
@SaleId int,
|
|
@ProductId int,
|
|
@Quantity int,
|
|
@PurchasePrice money,
|
|
@Tax money
|
|
AS
|
|
BEGIN
|
|
SET NOCOUNT ON;
|
|
|
|
INSERT INTO dbo.SaleDetail(SaleId, ProductId, Quantity, PurchasePrice, Tax)
|
|
VALUES (@SaleId, @ProductId, @Quantity, @PurchasePrice, @Tax)
|
|
|
|
END |