Tables [dbo].[ca_cic_portlet_content]
Properties
PropertyValue
CollationSQL_Latin1_General_CP1_CI_AS
Row Count9
Created12:40:24 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_portlet_content: user_uuid\type\content_uuidForeign Keys fk_cic_portlet_content: [dbo].[ca_cic_portlet].user_uuid\typeuser_uuidbinary(16)16
No
Cluster Primary Key pk_cic_portlet_content: user_uuid\type\content_uuidForeign Keys fk_cic_portlet_content: [dbo].[ca_cic_portlet].user_uuid\typetypetinyint1
No
str_data1nvarchar(512)1024
Yes
str_data2nvarchar(512)1024
Yes
str_data3nvarchar(512)1024
Yes
str_data4nvarchar(512)1024
Yes
str_data5nvarchar(512)1024
Yes
str_data6nvarchar(512)1024
Yes
str_data7nvarchar(512)1024
Yes
str_data8nvarchar(512)1024
Yes
Cluster Primary Key pk_cic_portlet_content: user_uuid\type\content_uuidcontent_uuidbinary(16)16
No
Indexes Indexes
NameColumnsUnique
Cluster Primary Key pk_cic_portlet_content: user_uuid\type\content_uuidpk_cic_portlet_contentuser_uuid, type, content_uuid
Yes
Foreign Keys Foreign Keys
NameColumns
fk_cic_portlet_contentuser_uuid->[dbo].[ca_cic_portlet].[user_uuid]
type->[dbo].[ca_cic_portlet].[type]
Permissions
TypeActionOwning Principal
GrantDeletecicuser
GrantInsertcicuser
GrantSelectcicuser
GrantUpdatecicuser
SQL Script
CREATE TABLE [dbo].[ca_cic_portlet_content]
(
[user_uuid] [binary] (16) NOT NULL,
[type] [tinyint] NOT NULL,
[str_data1] [nvarchar] (512) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
[str_data2] [nvarchar] (512) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
[str_data3] [nvarchar] (512) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
[str_data4] [nvarchar] (512) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
[str_data5] [nvarchar] (512) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
[str_data6] [nvarchar] (512) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
[str_data7] [nvarchar] (512) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
[str_data8] [nvarchar] (512) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
[content_uuid] [binary] (16) NOT NULL
) ON [PRIMARY]

GO
ALTER TABLE [dbo].[ca_cic_portlet_content] ADD CONSTRAINT [pk_cic_portlet_content] PRIMARY KEY CLUSTERED ([user_uuid], [type], [content_uuid]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[ca_cic_portlet_content] ADD CONSTRAINT [fk_cic_portlet_content] FOREIGN KEY ([user_uuid], [type]) REFERENCES [dbo].[ca_cic_portlet] ([user_uuid], [type])
GO
GRANT SELECT ON  [dbo].[ca_cic_portlet_content] TO [cicuser]
GRANT INSERT ON  [dbo].[ca_cic_portlet_content] TO [cicuser]
GRANT DELETE ON  [dbo].[ca_cic_portlet_content] TO [cicuser]
GRANT UPDATE ON  [dbo].[ca_cic_portlet_content] TO [cicuser]
GO
Uses