From c9e4b03ed5df9fa525ae0c1f9da1d86980a304e7 Mon Sep 17 00:00:00 2001 From: Mariusz Sielski Date: Sat, 12 Jan 2019 09:52:01 +0100 Subject: [PATCH] update create --- sql/create.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sql/create.sql b/sql/create.sql index 3b71f3b..00e0614 100644 --- a/sql/create.sql +++ b/sql/create.sql @@ -87,7 +87,7 @@ GO DROP TABLE IF EXISTS dim_drugs; CREATE TABLE dim_drugs ( drug_sk INTEGER identity(1, 1) PRIMARY KEY, - drug_product_id_bk INTEGER NOT NULL, -- business key + drug_product_id_bk NVARCHAR(13) NOT NULL, -- business key record_status CHAR(1), -- A for active, D for deactivated drug_product_name NVARCHAR(250), ro_number NVARCHAR(20),