2022-07-05 13:54:10 +02:00
|
|
|
|
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,
|
2022-07-23 17:09:13 +02:00
|
|
|
|
[QuantityInStock] INT NOT NULL DEFAULT 1,
|
2022-07-14 19:41:50 +02:00
|
|
|
|
[CreatedDate] DATETIME2 NOT NULL DEFAULT getutcdate(),
|
2022-07-23 23:56:50 +02:00
|
|
|
|
[LastModified] DATETIME2 NOT NULL DEFAULT getutcdate(),
|
|
|
|
|
[IsTaxable] BIT NOT NULL DEFAULT 1
|
2022-07-05 13:54:10 +02:00
|
|
|
|
)
|