Tables [dbo].[al_license_model_metric_temp]
Properties
PropertyValue
CollationSQL_Latin1_General_CP1_CI_AS
Row Count8
Created10:33:04 PM Thursday, February 10, 2011
Last Modified6:56:22 PM Tuesday, April 26, 2011
Columns
NameData TypeMax Length (Bytes)Allow NullsDefault
Cluster Primary Key pk_al_license_model_metric_tmp: license_model_metric_temp_idlicense_model_metric_temp_idint4
No
enabledsmallint2
Yes
maintenancesmallint2
Yes
based_on_uuidbinary(16)16
Yes
multiplierint4
Yes
Foreign Keys AL_LM_METRIC_TEMP_FK01: [dbo].[al_license_model_template].license_model_template_idIndexes al_lm_metric_temp_idx_01: license_model_template_idlicense_model_template_idint4
Yes
Foreign Keys AL_LM_METRIC_TEMP_FK02: [dbo].[al_install_type_def].install_type_def_idinstall_type_def_idint4
Yes
Foreign Keys AL_LM_METRIC_TEMP_FK03: [dbo].[al_based_on_def].based_on_def_idbased_on_def_idint4
Yes
descriptionnvarchar(1000)2000
Yes
supportedint4
No
('1  ')
Foreign Keys AL_LICENSE_MODEL_METRIC_TEMP_F: [dbo].[al_unsupported_metric_def].unsupported_license_metric_idForeign Keys al_license_model_metric_temp_fk04: [dbo].[al_unsupported_metric_def].unsupported_license_metric_idunsupported_license_metric_idint4
Yes
last_update_usernvarchar(255)510
Yes
last_update_dateint4
Yes
version_numberint4
Yes
('0  ')
Indexes Indexes
NameColumnsUnique
Cluster Primary Key pk_al_license_model_metric_tmp: license_model_metric_temp_idpk_al_license_model_metric_tmplicense_model_metric_temp_id
Yes
al_lm_metric_temp_idx_01license_model_template_id
Foreign Keys Foreign Keys
NameColumns
AL_LICENSE_MODEL_METRIC_TEMP_Funsupported_license_metric_id->[dbo].[al_unsupported_metric_def].[id]
al_license_model_metric_temp_fk04unsupported_license_metric_id->[dbo].[al_unsupported_metric_def].[id]
AL_LM_METRIC_TEMP_FK01license_model_template_id->[dbo].[al_license_model_template].[license_model_template_id]
AL_LM_METRIC_TEMP_FK02install_type_def_id->[dbo].[al_install_type_def].[install_type_def_id]
AL_LM_METRIC_TEMP_FK03based_on_def_id->[dbo].[al_based_on_def].[based_on_def_id]
Permissions
TypeActionOwning Principal
GrantDeleteuapmadmin_group
GrantInsertuapmadmin_group
GrantDeleteuapmbatch_group
GrantInsertuapmbatch_group
GrantDeleteswcmadmin
GrantInsertswcmadmin
GrantSelectuapmadmin_group
GrantUpdateuapmadmin_group
GrantSelectuapmbatch_group
GrantUpdateuapmbatch_group
GrantSelectuapmreporting_group
GrantSelectswcmadmin
GrantUpdateswcmadmin
SQL Script
CREATE TABLE [dbo].[al_license_model_metric_temp]
(
[license_model_metric_temp_id] [int] NOT NULL,
[enabled] [smallint] NULL,
[maintenance] [smallint] NULL,
[based_on_uuid] [binary] (16) NULL,
[multiplier] [int] NULL,
[license_model_template_id] [int] NULL,
[install_type_def_id] [int] NULL,
[based_on_def_id] [int] NULL,
[description] [nvarchar] (1000) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
[supported] [int] NOT NULL CONSTRAINT [DF__AL_LICENS__SUPPO__45F365D3] DEFAULT ('1  '),
[unsupported_license_metric_id] [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_LICENS__VERSI__46E78A0C] DEFAULT ('0  ')
) ON [PRIMARY]

GO
ALTER TABLE [dbo].[al_license_model_metric_temp] ADD CONSTRAINT [pk_al_license_model_metric_tmp] PRIMARY KEY CLUSTERED ([license_model_metric_temp_id]) ON [PRIMARY]
GO
CREATE NONCLUSTERED INDEX [al_lm_metric_temp_idx_01] ON [dbo].[al_license_model_metric_temp] ([license_model_template_id]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[al_license_model_metric_temp] ADD CONSTRAINT [AL_LICENSE_MODEL_METRIC_TEMP_F] FOREIGN KEY ([unsupported_license_metric_id]) REFERENCES [dbo].[al_unsupported_metric_def] ([id])
GO
ALTER TABLE [dbo].[al_license_model_metric_temp] ADD CONSTRAINT [al_license_model_metric_temp_fk04] FOREIGN KEY ([unsupported_license_metric_id]) REFERENCES [dbo].[al_unsupported_metric_def] ([id])
GO
ALTER TABLE [dbo].[al_license_model_metric_temp] ADD CONSTRAINT [AL_LM_METRIC_TEMP_FK01] FOREIGN KEY ([license_model_template_id]) REFERENCES [dbo].[al_license_model_template] ([license_model_template_id])
GO
ALTER TABLE [dbo].[al_license_model_metric_temp] ADD CONSTRAINT [AL_LM_METRIC_TEMP_FK02] FOREIGN KEY ([install_type_def_id]) REFERENCES [dbo].[al_install_type_def] ([install_type_def_id])
GO
ALTER TABLE [dbo].[al_license_model_metric_temp] ADD CONSTRAINT [AL_LM_METRIC_TEMP_FK03] FOREIGN KEY ([based_on_def_id]) REFERENCES [dbo].[al_based_on_def] ([based_on_def_id])
GO
GRANT SELECT ON  [dbo].[al_license_model_metric_temp] TO [swcmadmin]
GRANT INSERT ON  [dbo].[al_license_model_metric_temp] TO [swcmadmin]
GRANT DELETE ON  [dbo].[al_license_model_metric_temp] TO [swcmadmin]
GRANT UPDATE ON  [dbo].[al_license_model_metric_temp] TO [swcmadmin]
GRANT SELECT ON  [dbo].[al_license_model_metric_temp] TO [uapmadmin_group]
GRANT INSERT ON  [dbo].[al_license_model_metric_temp] TO [uapmadmin_group]
GRANT DELETE ON  [dbo].[al_license_model_metric_temp] TO [uapmadmin_group]
GRANT UPDATE ON  [dbo].[al_license_model_metric_temp] TO [uapmadmin_group]
GRANT SELECT ON  [dbo].[al_license_model_metric_temp] TO [uapmbatch_group]
GRANT INSERT ON  [dbo].[al_license_model_metric_temp] TO [uapmbatch_group]
GRANT DELETE ON  [dbo].[al_license_model_metric_temp] TO [uapmbatch_group]
GRANT UPDATE ON  [dbo].[al_license_model_metric_temp] TO [uapmbatch_group]
GRANT SELECT ON  [dbo].[al_license_model_metric_temp] TO [uapmreporting_group]
GO
Uses
Used By