Tables [dbo].[ca_cic_download]
Properties
PropertyValue
CollationSQL_Latin1_General_CP1_CI_AS
Row Count0
Created12:40:23 PM Sunday, December 05, 2010
Last Modified12:40:24 PM Sunday, December 05, 2010
Columns
NameData TypeMax Length (Bytes)Allow Nulls
Cluster Primary Key pk_cic_download: download_file_uuidForeign Keys fk_cic_download: [dbo].[ca_download_file].download_file_uuiddownload_file_uuidbinary(16)16
No
statustinyint1
Yes
when_scheduledint4
Yes
when_startedint4
Yes
when_completedint4
Yes
attemptsint4
Yes
stored_locationnvarchar(1024)2048
Yes
fail_descriptionntextmax
Yes
Indexes Indexes
NameColumnsUnique
Cluster Primary Key pk_cic_download: download_file_uuidpk_cic_downloaddownload_file_uuid
Yes
Foreign Keys Foreign Keys
NameColumns
fk_cic_downloaddownload_file_uuid->[dbo].[ca_download_file].[download_file_uuid]
SQL Script
CREATE TABLE [dbo].[ca_cic_download]
(
[download_file_uuid] [binary] (16) NOT NULL,
[status] [tinyint] NULL,
[when_scheduled] [int] NULL,
[when_started] [int] NULL,
[when_completed] [int] NULL,
[attempts] [int] NULL,
[stored_location] [nvarchar] (1024) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
[fail_description] [ntext] COLLATE SQL_Latin1_General_CP1_CI_AS NULL
) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]

GO
ALTER TABLE [dbo].[ca_cic_download] ADD CONSTRAINT [pk_cic_download] PRIMARY KEY CLUSTERED ([download_file_uuid]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[ca_cic_download] ADD CONSTRAINT [fk_cic_download] FOREIGN KEY ([download_file_uuid]) REFERENCES [dbo].[ca_download_file] ([download_file_uuid])
GO
Uses