14 lines
300 B
MySQL
14 lines
300 B
MySQL
|
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
|