Tables [dbo].[por_wp_portlet]
Properties
PropertyValue
CollationSQL_Latin1_General_CP1_CS_AS
HeapYes
Row Count0
Created12:31:11 PM Sunday, December 05, 2010
Last Modified12:33:25 PM Sunday, December 05, 2010
Columns
NameData TypeMax Length (Bytes)Allow Nulls
Primary Key xpkworkplace_portlet: wp_portlet_idwp_portlet_idnvarchar(64)128
No
window_idint4
No
Foreign Keys $por_w_r0000373e00000000: [dbo].[por_portlet_entity].portlet_entity_idportlet_entity_idnvarchar(64)128
No
Foreign Keys $por_w_r0000374800000000: [dbo].[por_wp].wp_idwp_idnvarchar(64)128
Yes
portlet_button_visibilitynvarchar(256)512
Yes
Indexes Indexes
NameColumnsUnique
Primary Key xpkworkplace_portlet: wp_portlet_idxpkworkplace_portletwp_portlet_id
Yes
Foreign Keys Foreign Keys
NameColumns
$por_w_r0000373e00000000portlet_entity_id->[dbo].[por_portlet_entity].[portlet_entity_id]
$por_w_r0000374800000000wp_id->[dbo].[por_wp].[wp_id]
Permissions
TypeActionOwning Principal
GrantDeleteportaldba_group
GrantInsertportaldba_group
GrantSelectportaldba_group
GrantUpdateportaldba_group
SQL Script
CREATE TABLE [dbo].[por_wp_portlet]
(
[wp_portlet_id] [nvarchar] (64) COLLATE SQL_Latin1_General_CP1_CS_AS NOT NULL,
[window_id] [int] NOT NULL,
[portlet_entity_id] [nvarchar] (64) COLLATE SQL_Latin1_General_CP1_CS_AS NOT NULL,
[wp_id] [nvarchar] (64) COLLATE SQL_Latin1_General_CP1_CS_AS NULL,
[portlet_button_visibility] [nvarchar] (256) COLLATE SQL_Latin1_General_CP1_CS_AS NULL
) ON [PRIMARY]

GO
ALTER TABLE [dbo].[por_wp_portlet] ADD CONSTRAINT [xpkworkplace_portlet] PRIMARY KEY NONCLUSTERED ([wp_portlet_id]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[por_wp_portlet] ADD CONSTRAINT [$por_w_r0000373e00000000] FOREIGN KEY ([portlet_entity_id]) REFERENCES [dbo].[por_portlet_entity] ([portlet_entity_id])
GO
ALTER TABLE [dbo].[por_wp_portlet] ADD CONSTRAINT [$por_w_r0000374800000000] FOREIGN KEY ([wp_id]) REFERENCES [dbo].[por_wp] ([wp_id])
GO
GRANT SELECT ON  [dbo].[por_wp_portlet] TO [portaldba_group]
GRANT INSERT ON  [dbo].[por_wp_portlet] TO [portaldba_group]
GRANT DELETE ON  [dbo].[por_wp_portlet] TO [portaldba_group]
GRANT UPDATE ON  [dbo].[por_wp_portlet] TO [portaldba_group]
GO
Uses