Retail_manager/RMData/dbo/Tables/Inventory.sql
s459315 f582cf6653 Register DB Tables
Tables for the basic register system.
2022-07-05 13:54:10 +02:00

9 lines
248 B
Transact-SQL

CREATE TABLE [dbo].[Inventory]
(
[Id] INT NOT NULL PRIMARY KEY IDENTITY,
[ProductId] INT NOT NULL,
[Quantity] INT NOT NULL DEFAULT 1,
[PurchasePrice] MONEY NOT NULL,
[PurchaseDate] DATETIME2 NOT NULL DEFAULT getutcdate(),
)