Skip to content

Commit

Permalink
WIP: remove identity
Browse files Browse the repository at this point in the history
  • Loading branch information
atrakic committed Dec 14, 2024
1 parent f294d01 commit f112fde
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion DbProject/dbo/Tables/DimCustomer.sql
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
CREATE TABLE [dbo].[DimCustomer]
(
[CustomerKey] INT IDENTITY(1,1) NOT NULL PRIMARY KEY,
[CustomerKey] INT NOT NULL PRIMARY KEY,
[FirstName] VARCHAR (50) NOT NULL,
[LastName] VARCHAR (50) NOT NULL,
[AddressLine1] VARCHAR (200) NOT NULL,
Expand Down
2 changes: 1 addition & 1 deletion DbProject/dbo/Tables/DimProduct.sql
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
CREATE TABLE [dbo].[DimProduct]
(
[ProductKey] INT IDENTITY(1,1) NOT NULL PRIMARY KEY,
[ProductKey] INT NOT NULL PRIMARY KEY,
[ProductName] VARCHAR (50) NOT NULL,
[Category] VARCHAR (50) NOT NULL,
[ListPrice] DECIMAL (18, 2) NOT NULL
Expand Down
2 changes: 1 addition & 1 deletion DbProject/dbo/Tables/FactSalesOrder.sql
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
CREATE TABLE [dbo].[FactSalesOrder]
(
[SalesOrderKey] INT IDENTITY(1,1) NOT NULL PRIMARY KEY,
[SalesOrderKey] INT NOT NULL PRIMARY KEY,
[SalesOrderDateKey] INT NOT NULL,
[ProductKey] INT NOT NULL,
[CustomerKey] INT NOT NULL,
Expand Down

0 comments on commit f112fde

Please sign in to comment.