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),