Tables [dbo].[por_portlet_user_prefs]
Properties
PropertyValue
HeapYes
Row Count0
Created12:31:10 PM Sunday, December 05, 2010
Last Modified12:33:25 PM Sunday, December 05, 2010
Columns
NameData TypeCollationMax Length (Bytes)Allow Nulls
Primary Key xpkportlet_user_preferences: portlet_user_prefs_idportlet_user_prefs_idnvarchar(64)SQL_Latin1_General_CP1_CS_AS128
No
user_idnvarchar(128)SQL_Latin1_General_CP1_CS_AS256
Yes
prefsntextSQL_Latin1_General_CP1_CI_ASmax
Yes
Foreign Keys $por_p_r000036ee00000000: [dbo].[por_portlet_entity].portlet_entity_idportlet_entity_idnvarchar(64)SQL_Latin1_General_CP1_CS_AS128
Yes
Indexes Indexes
NameColumnsUnique
Primary Key xpkportlet_user_preferences: portlet_user_prefs_idxpkportlet_user_preferencesportlet_user_prefs_id
Yes
Foreign Keys Foreign Keys
NameColumns
$por_p_r000036ee00000000portlet_entity_id->[dbo].[por_portlet_entity].[portlet_entity_id]
Permissions
TypeActionOwning Principal
GrantDeleteportaldba_group
GrantInsertportaldba_group
GrantSelectportaldba_group
GrantUpdateportaldba_group
SQL Script
CREATE TABLE [dbo].[por_portlet_user_prefs]
(
[portlet_user_prefs_id] [nvarchar] (64) COLLATE SQL_Latin1_General_CP1_CS_AS NOT NULL,
[user_id] [nvarchar] (128) COLLATE SQL_Latin1_General_CP1_CS_AS NULL,
[prefs] [ntext] COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
[portlet_entity_id] [nvarchar] (64) COLLATE SQL_Latin1_General_CP1_CS_AS NULL
) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]

GO
ALTER TABLE [dbo].[por_portlet_user_prefs] ADD CONSTRAINT [xpkportlet_user_preferences] PRIMARY KEY NONCLUSTERED ([portlet_user_prefs_id]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[por_portlet_user_prefs] ADD CONSTRAINT [$por_p_r000036ee00000000] FOREIGN KEY ([portlet_entity_id]) REFERENCES [dbo].[por_portlet_entity] ([portlet_entity_id])
GO
GRANT SELECT ON  [dbo].[por_portlet_user_prefs] TO [portaldba_group]
GRANT INSERT ON  [dbo].[por_portlet_user_prefs] TO [portaldba_group]
GRANT DELETE ON  [dbo].[por_portlet_user_prefs] TO [portaldba_group]
GRANT UPDATE ON  [dbo].[por_portlet_user_prefs] TO [portaldba_group]
GO
Uses