update create

This commit is contained in:
Mariusz Sielski 2019-01-12 09:52:01 +01:00
parent c0c36c5419
commit c9e4b03ed5

View File

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