Tables [dbo].[PlasticDealAuthorization]
Properties
PropertyValue
Row Count (~)0
Created9:05:03 AM Friday, November 22, 2024
Last Modified9:05:04 AM Friday, November 22, 2024
Columns
NameData TypeMax Length (Bytes)Allow NullsIdentity
Cluster Primary Key PK_PlasticDealAuthorization: DealAuthorizationIDDealAuthorizationIDint4
No
1 - 1
Foreign Keys FK_PlasticDealAuthorization_Deal: [dbo].[PlasticDeal].DealFIDIndexes IX_PlasticDealAuthorization_DealFID: DealFIDDealFIDint4
No
Indexes Indexes
NameColumnsUnique
Cluster Primary Key PK_PlasticDealAuthorization: DealAuthorizationIDPK_PlasticDealAuthorizationDealAuthorizationID
Yes
IX_PlasticDealAuthorization_DealFIDDealFID
Yes
Foreign Keys Foreign Keys
NameColumns
FK_PlasticDealAuthorization_DealDealFID->[dbo].[PlasticDeal].[DealID]
Permissions
TypeActionOwning Principal
GrantDeleteMssExec
GrantInsertMssExec
GrantSelectMssExec
GrantUpdateMssExec
SQL Script
CREATE TABLE [dbo].[PlasticDealAuthorization]
(
[DealAuthorizationID] [int] NOT NULL IDENTITY(1, 1),
[DealFID] [int] NOT NULL
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[PlasticDealAuthorization] ADD CONSTRAINT [PK_PlasticDealAuthorization] PRIMARY KEY CLUSTERED  ([DealAuthorizationID]) ON [PRIMARY]
GO
CREATE UNIQUE NONCLUSTERED INDEX [IX_PlasticDealAuthorization_DealFID] ON [dbo].[PlasticDealAuthorization] ([DealFID]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[PlasticDealAuthorization] ADD CONSTRAINT [FK_PlasticDealAuthorization_Deal] FOREIGN KEY ([DealFID]) REFERENCES [dbo].[PlasticDeal] ([DealID])
GO
GRANT SELECT ON  [dbo].[PlasticDealAuthorization] TO [MssExec]
GRANT INSERT ON  [dbo].[PlasticDealAuthorization] TO [MssExec]
GRANT DELETE ON  [dbo].[PlasticDealAuthorization] TO [MssExec]
GRANT UPDATE ON  [dbo].[PlasticDealAuthorization] TO [MssExec]
GO
Uses
Used By