Retail_manager/RMData/dbo/Tables/Product.sql
s459315 aa98988db1 Added RMDataManageLibrary project
Added a way to communicate with database
2022-07-14 19:41:50 +02:00

11 lines
318 B
Transact-SQL

CREATE TABLE [dbo].[Product]
(
[Id] INT NOT NULL PRIMARY KEY IDENTITY,
[ProductName] NVARCHAR(100) NOT NULL,
[Description] NVARCHAR(MAX) NOT NULL,
[RetailPrice] MONEY NOT NULL,
[CreatedDate] DATETIME2 NOT NULL DEFAULT getutcdate(),
[LastModified] DATETIME2 NOT NULL DEFAULT getutcdate(),
)