Retail_manager/RMData/dbo/Stored Procedures/spInventoryInsert.sql

14 lines
361 B
MySQL
Raw Normal View History

CREATE PROCEDURE [dbo].[spInventoryInsert]
-- [ProductId], [Quantity], [PurchasePrice], [PurchaseDate]
@ProductId int,
@Quantity int,
@PurchasePrice money,
@PurchaseDate datetime2
AS
BEGIN
SET NOCOUNT ON;
INSERT INTO dbo.Inventory (ProductId, Quantity, PurchasePrice, PurchaseDate)
VALUES (@ProductId, @Quantity, @PurchasePrice, @PurchaseDate);
END