CREATE TABLE [dbo].[md_tables_export]
(
[tble_table_name] [dbo].[ais_name] NOT NULL,
[tble_filter] [varchar] (500) COLLATE French_CI_AS NULL,
[tble_insert_order] [int] NOT NULL CONSTRAINT [DF_md_tables_export_tble_insert_order] DEFAULT ((0)),
[tble_delete_order] [int] NOT NULL CONSTRAINT [DF_md_tables_export_tble_delete_order] DEFAULT ((0))
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[md_tables_export] ADD CONSTRAINT [PK_md_tables_export] PRIMARY KEY CLUSTERED  ([tble_table_name]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[md_tables_export] ADD CONSTRAINT [FK_md_tables_export_md_tables] FOREIGN KEY ([tble_table_name]) REFERENCES [dbo].[md_tables] ([tbl_table_name])
GO
