privacy_protection_consent.sql 1.0 KB

123456789101112131415161718192021222324252627
  1. CREATE TABLE [dbo].[privacy_protection_consent] (
  2. [customer_number] [int] NOT NULL,
  3. [subsidiary_to_company_ref] [int] NOT NULL,
  4. [make_name] [varchar](50) NOT NULL
  5. CONSTRAINT [DF_privacy_protection_consent_make_name] DEFAULT (''),
  6. [validity_date_start] [datetime] NULL,
  7. [validity_date_end] [datetime] NULL,
  8. [created_print_time] [datetime] NULL,
  9. [created_employee_no] [int] NULL,
  10. [last_change_print_time] [datetime] NULL,
  11. [last_change_employee_no] [int] NULL,
  12. [first_ackno_print_time] [datetime] NULL,
  13. [first_ackno_employee_no] [int] NULL,
  14. [last_ackno_print_time] [datetime] NULL,
  15. [last_ackno_employee_no] [int] NULL,
  16. [first_consent_print_time] [datetime] NULL,
  17. [first_consent_employee_no] [int] NULL,
  18. [last_consent_print_time] [datetime] NULL,
  19. [last_consent_employee_no] [int] NULL,
  20. [internal_id] [bigint] NULL,
  21. [client_db] [varchar](20) NOT NULL
  22. ,CONSTRAINT [privacy_protection_consent$0] PRIMARY KEY CLUSTERED ([customer_number], [subsidiary_to_company_ref], [make_name], [client_db])
  23. )
  24. GO