Tables [dbo].[al_link_export_file]
Properties
PropertyValue
CollationSQL_Latin1_General_CP1_CI_AS
Row Count0
Created10:33:04 PM Thursday, February 10, 2011
Last Modified10:34:18 PM Thursday, February 10, 2011
Columns
NameData TypeMax Length (Bytes)Allow NullsDefault
Cluster Primary Key pk_al_link_export_file: export_id\file_idForeign Keys AL_LINK_EXPORT_FILE_FK01: [dbo].[al_export_def].export_idexport_idbigint8
No
Cluster Primary Key pk_al_link_export_file: export_id\file_idForeign Keys AL_LINK_EXPORT_FILE_FK02: [dbo].[al_file_storage].file_idfile_idbigint8
No
last_update_usernvarchar(64)128
Yes
last_update_dateint4
Yes
version_numberint4
Yes
('0     ')
Indexes Indexes
NameColumnsUnique
Cluster Primary Key pk_al_link_export_file: export_id\file_idpk_al_link_export_fileexport_id, file_id
Yes
Foreign Keys Foreign Keys
NameColumns
AL_LINK_EXPORT_FILE_FK01export_id->[dbo].[al_export_def].[export_id]
AL_LINK_EXPORT_FILE_FK02file_id->[dbo].[al_file_storage].[file_id]
SQL Script
CREATE TABLE [dbo].[al_link_export_file]
(
[export_id] [bigint] NOT NULL,
[file_id] [bigint] NOT NULL,
[last_update_user] [nvarchar] (64) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
[last_update_date] [int] NULL,
[version_number] [int] NULL CONSTRAINT [DF__AL_LINK_E__VERSI__00CA12DE] DEFAULT ('0     ')
) ON [PRIMARY]

GO
ALTER TABLE [dbo].[al_link_export_file] ADD CONSTRAINT [pk_al_link_export_file] PRIMARY KEY CLUSTERED ([export_id], [file_id]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[al_link_export_file] ADD CONSTRAINT [AL_LINK_EXPORT_FILE_FK01] FOREIGN KEY ([export_id]) REFERENCES [dbo].[al_export_def] ([export_id])
GO
ALTER TABLE [dbo].[al_link_export_file] ADD CONSTRAINT [AL_LINK_EXPORT_FILE_FK02] FOREIGN KEY ([file_id]) REFERENCES [dbo].[al_file_storage] ([file_id])
GO
Uses
Used By