Tables [dbo].[al_fired_event]
Properties
PropertyValue
CollationSQL_Latin1_General_CP1_CI_AS
Row Count1
Created10:33:03 PM Thursday, February 10, 2011
Last Modified12:38:34 AM Friday, February 25, 2011
Columns
NameData TypeMax Length (Bytes)Allow NullsDefault
Cluster Primary Key al_fired_event_pk: event_fire_idevent_fire_idbigint8
No
Foreign Keys al_fired_event_fk01: [dbo].[al_event_def].event_idevent_idint4
No
fire_dateint4
Yes
workflow_process_idnvarchar(255)510
Yes
initial_datanvarchar(max)max
Yes
Foreign Keys al_fired_event_fk02: [dbo].[al_fired_event_status].status_idstatus_idint4
No
workflow_statusnvarchar(255)510
Yes
creation_usernvarchar(255)510
Yes
creation_dateint4
Yes
last_update_usernvarchar(255)510
Yes
last_update_dateint4
Yes
version_numberint4
Yes
('0 ')
Foreign Keys al_fired_event_fk03: [dbo].[ca_tenant].tenanttenantbinary(16)16
Yes
Indexes Indexes
NameColumnsUnique
Cluster Primary Key al_fired_event_pk: event_fire_idal_fired_event_pkevent_fire_id
Yes
Foreign Keys Foreign Keys
NameColumns
al_fired_event_fk01event_id->[dbo].[al_event_def].[event_id]
al_fired_event_fk02status_id->[dbo].[al_fired_event_status].[status_id]
al_fired_event_fk03tenant->[dbo].[ca_tenant].[id]
SQL Script
CREATE TABLE [dbo].[al_fired_event]
(
[event_fire_id] [bigint] NOT NULL,
[event_id] [int] NOT NULL,
[fire_date] [int] NULL,
[workflow_process_id] [nvarchar] (255) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
[initial_data] [nvarchar] (max) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
[status_id] [int] NOT NULL,
[workflow_status] [nvarchar] (255) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
[creation_user] [nvarchar] (255) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
[creation_date] [int] NULL,
[last_update_user] [nvarchar] (255) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
[last_update_date] [int] NULL,
[version_number] [int] NULL CONSTRAINT [DF__AL_FIRED_EVT_VERSION] DEFAULT ('0 '),
[tenant] [binary] (16) NULL
) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]

GO
ALTER TABLE [dbo].[al_fired_event] ADD CONSTRAINT [al_fired_event_pk] PRIMARY KEY CLUSTERED ([event_fire_id]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[al_fired_event] ADD CONSTRAINT [al_fired_event_fk01] FOREIGN KEY ([event_id]) REFERENCES [dbo].[al_event_def] ([event_id])
GO
ALTER TABLE [dbo].[al_fired_event] ADD CONSTRAINT [al_fired_event_fk02] FOREIGN KEY ([status_id]) REFERENCES [dbo].[al_fired_event_status] ([status_id])
GO
ALTER TABLE [dbo].[al_fired_event] ADD CONSTRAINT [al_fired_event_fk03] FOREIGN KEY ([tenant]) REFERENCES [dbo].[ca_tenant] ([id])
GO
Uses
Used By