11 lines
317 B
Transact-SQL
11 lines
317 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,
|
|
[CreateDate] DATETIME2 NOT NULL DEFAULT getutcdate(),
|
|
[LastModified] DATETIME2 NOT NULL DEFAULT getutcdate(),
|
|
|
|
)
|