Tables [dbo].[wsm_level]
Properties
PropertyValue
CollationSQL_Latin1_General_CP1_CS_AS
Row Count0
Created11:08:12 AM Wednesday, March 07, 2007
Last Modified11:10:02 AM Wednesday, March 07, 2007
Columns
NameData TypeMax Length (Bytes)Allow Nulls
Cluster Primary Key XPKwsm_level: level_uuidIndexes xak1wsm_level: location_id\level_uuidlevel_uuidbinary(16)16
No
level_namevarchar(255)255
Yes
level_positionint4
Yes
Foreign Keys r_6: [dbo].[wsm_location].location_idIndexes xif1wsm_level: location_idIndexes xak1wsm_level: location_id\level_uuidlocation_idbinary(16)16
No
Foreign Keys r_10: [dbo].[wsm_image].image_uuidIndexes xif2wsm_level: image_uuidimage_uuidbinary(16)16
Yes
Foreign Keys r_1499: [dbo].[wsm_propogation_model].propogation_model_uuidIndexes xif3wsm_level: propogation_model_uuidpropogation_model_uuidbinary(16)16
Yes
default_interfloor_attenuationfloat8
Yes
default_level_attenuationfloat8
Yes
Indexes Indexes
NameColumnsUnique
Cluster Primary Key XPKwsm_level: level_uuidXPKwsm_levellevel_uuid
Yes
xak1wsm_levellocation_id, level_uuid
Yes
xif1wsm_levellocation_id
xif2wsm_levelimage_uuid
xif3wsm_levelpropogation_model_uuid
Foreign Keys Foreign Keys
NameColumns
r_10image_uuid->[dbo].[wsm_image].[image_uuid]
r_1499propogation_model_uuid->[dbo].[wsm_propogation_model].[propogation_model_uuid]
r_6location_id->[dbo].[wsm_location].[location_id]
Permissions
TypeActionOwning Principal
GrantDeletewsm_admin_group
GrantInsertwsm_admin_group
GrantSelectwsm_admin_group
GrantUpdatewsm_admin_group
GrantSelectwsm_ro_group
SQL Script
CREATE TABLE [dbo].[wsm_level]
(
[level_uuid] [binary] (16) NOT NULL,
[level_name] [varchar] (255) COLLATE SQL_Latin1_General_CP1_CS_AS NULL,
[level_position] [int] NULL,
[location_id] [binary] (16) NOT NULL,
[image_uuid] [binary] (16) NULL,
[propogation_model_uuid] [binary] (16) NULL,
[default_interfloor_attenuation] [float] NULL,
[default_level_attenuation] [float] NULL
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[wsm_level] ADD CONSTRAINT [XPKwsm_level] PRIMARY KEY CLUSTERED ([level_uuid]) ON [PRIMARY]
GO
CREATE NONCLUSTERED INDEX [xif2wsm_level] ON [dbo].[wsm_level] ([image_uuid]) ON [PRIMARY]
GO
CREATE NONCLUSTERED INDEX [xif1wsm_level] ON [dbo].[wsm_level] ([location_id]) ON [PRIMARY]
GO
CREATE UNIQUE NONCLUSTERED INDEX [xak1wsm_level] ON [dbo].[wsm_level] ([location_id], [level_uuid]) ON [PRIMARY]
GO
CREATE NONCLUSTERED INDEX [xif3wsm_level] ON [dbo].[wsm_level] ([propogation_model_uuid]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[wsm_level] ADD CONSTRAINT [r_10] FOREIGN KEY ([image_uuid]) REFERENCES [dbo].[wsm_image] ([image_uuid])
GO
ALTER TABLE [dbo].[wsm_level] ADD CONSTRAINT [r_1499] FOREIGN KEY ([propogation_model_uuid]) REFERENCES [dbo].[wsm_propogation_model] ([propogation_model_uuid])
GO
ALTER TABLE [dbo].[wsm_level] ADD CONSTRAINT [r_6] FOREIGN KEY ([location_id]) REFERENCES [dbo].[wsm_location] ([location_id])
GO
GRANT SELECT ON  [dbo].[wsm_level] TO [wsm_admin_group]
GRANT INSERT ON  [dbo].[wsm_level] TO [wsm_admin_group]
GRANT DELETE ON  [dbo].[wsm_level] TO [wsm_admin_group]
GRANT UPDATE ON  [dbo].[wsm_level] TO [wsm_admin_group]
GRANT SELECT ON  [dbo].[wsm_level] TO [wsm_ro_group]
GO
Uses
Used By