Tables [dbo].[ci_location]
Properties
PropertyValue
CollationSQL_Latin1_General_CP1_CI_AS
Row Count11
Created2:45:44 PM Saturday, July 19, 2008
Last Modified9:16:22 PM Friday, December 05, 2008
Columns
NameData TypeMax Length (Bytes)Allow NullsDefault
last_mod_dtint4
Yes
last_mod_bybinary(16)16
Yes
Cluster Primary Key PK__ci_location__2CCE200E: own_resource_uuidown_resource_uuidbinary(16)16
No
Foreign Keys ci_location_base_fk: [dbo].[ca_location].base_locationbase_locationbinary(16)16
Yes
delint4
Yes
((0))
creation_usernvarchar(64)128
Yes
creation_dateint4
Yes
last_update_usernvarchar(64)128
Yes
last_update_dateint4
Yes
version_numberint4
Yes
Indexes Indexes
NameColumnsUnique
Cluster Primary Key PK__ci_location__2CCE200E: own_resource_uuidPK__ci_location__2CCE200Eown_resource_uuid
Yes
Foreign Keys Foreign Keys
NameColumns
ci_location_base_fkbase_location->[dbo].[ca_location].[location_uuid]
Permissions
TypeActionOwning Principal
GrantDeleteservice_desk_admin_group
GrantInsertservice_desk_admin_group
GrantSelectservice_desk_admin_group
GrantUpdateservice_desk_admin_group
GrantSelectservice_desk_ro_group
SQL Script
CREATE TABLE [dbo].[ci_location]
(
[last_mod_dt] [int] NULL,
[last_mod_by] [binary] (16) NULL,
[own_resource_uuid] [binary] (16) NOT NULL,
[base_location] [binary] (16) NULL,
[del] [int] NULL CONSTRAINT [DF__ci_location__del__59A0C685] DEFAULT ((0)),
[creation_user] [nvarchar] (64) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
[creation_date] [int] NULL,
[last_update_user] [nvarchar] (64) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
[last_update_date] [int] NULL,
[version_number] [int] NULL
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[ci_location] ADD CONSTRAINT [PK__ci_location__2CCE200E] PRIMARY KEY CLUSTERED ([own_resource_uuid]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[ci_location] ADD CONSTRAINT [ci_location_base_fk] FOREIGN KEY ([base_location]) REFERENCES [dbo].[ca_location] ([location_uuid])
GO
GRANT SELECT ON  [dbo].[ci_location] TO [service_desk_admin_group]
GRANT INSERT ON  [dbo].[ci_location] TO [service_desk_admin_group]
GRANT DELETE ON  [dbo].[ci_location] TO [service_desk_admin_group]
GRANT UPDATE ON  [dbo].[ci_location] TO [service_desk_admin_group]
GRANT SELECT ON  [dbo].[ci_location] TO [service_desk_ro_group]
GO
Uses