CREATE TABLE [dbo].[pol_cpl]
(
[pcpl_policy_situation_id] [int] NOT NULL,
[pcpl_rowver] [timestamp] NOT NULL,
[pcpl_usage_id] [int] NULL
) ON [PRIMARY]
ALTER TABLE [dbo].[pol_cpl] ADD
CONSTRAINT [FK_pol_cpl_grpusg_usages] FOREIGN KEY ([pcpl_usage_id]) REFERENCES [dbo].[grpusg_usages] ([usgu_usage_id])
ALTER TABLE [dbo].[pol_cpl] ADD 
CONSTRAINT [PK_pol_cpl] PRIMARY KEY CLUSTERED  ([pcpl_policy_situation_id]) ON [PRIMARY]
ALTER TABLE [dbo].[pol_cpl] ADD
CONSTRAINT [FK_pol_cpl_pol_policies_situations1] FOREIGN KEY ([pcpl_policy_situation_id]) REFERENCES [dbo].[pol_policies_situations] ([pols_policy_situation_id])
GO
