Tables [dbo].[ThirdPartyApplication]
Properties
PropertyValue
CollationSQL_Latin1_General_CP1_CI_AS
Row Count (~)0
Created9:17:23 AM Friday, November 8, 2024
Last Modified9:18:36 AM Friday, November 8, 2024
Columns
NameData TypeMax Length (Bytes)Allow NullsIdentity
Cluster Primary Key PK_ThirdPartyApplication: ThirdPartyApplicationIdThirdPartyApplicationIdint4
No
1 - 1
MenuNamevarchar(64)64
No
Urlvarchar(255)255
No
AuthorizationUrlvarchar(255)255
No
ClientIdvarchar(1000)1000
No
ClientSecretvarchar(1000)1000
No
Foreign Keys FK_ThirdPartyApplication_XmlSystemDataTypeMap: [dbo].[XmlSystemDataTypeMap].XmlSystemDataTypeMapFIDXmlSystemDataTypeMapFIDint4
Yes
Indexes Indexes
NameColumnsUnique
Cluster Primary Key PK_ThirdPartyApplication: ThirdPartyApplicationIdPK_ThirdPartyApplicationThirdPartyApplicationId
Yes
Foreign Keys Foreign Keys
NameColumns
FK_ThirdPartyApplication_XmlSystemDataTypeMapXmlSystemDataTypeMapFID->[dbo].[XmlSystemDataTypeMap].[XmlSystemDataTypeMapID]
Permissions
TypeActionOwning Principal
GrantDeleteMssExec
GrantInsertMssExec
GrantSelectMssExec
GrantUpdateMssExec
SQL Script
CREATE TABLE [dbo].[ThirdPartyApplication]
(
[ThirdPartyApplicationId] [int] NOT NULL IDENTITY(1, 1),
[MenuName] [varchar] (64) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
[Url] [varchar] (255) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
[AuthorizationUrl] [varchar] (255) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
[ClientId] [varchar] (1000) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
[ClientSecret] [varchar] (1000) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
[XmlSystemDataTypeMapFID] [int] NULL
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[ThirdPartyApplication] ADD CONSTRAINT [PK_ThirdPartyApplication] PRIMARY KEY CLUSTERED  ([ThirdPartyApplicationId]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[ThirdPartyApplication] ADD CONSTRAINT [FK_ThirdPartyApplication_XmlSystemDataTypeMap] FOREIGN KEY ([XmlSystemDataTypeMapFID]) REFERENCES [dbo].[XmlSystemDataTypeMap] ([XmlSystemDataTypeMapID])
GO
GRANT SELECT ON  [dbo].[ThirdPartyApplication] TO [MssExec]
GRANT INSERT ON  [dbo].[ThirdPartyApplication] TO [MssExec]
GRANT DELETE ON  [dbo].[ThirdPartyApplication] TO [MssExec]
GRANT UPDATE ON  [dbo].[ThirdPartyApplication] TO [MssExec]
GO
Uses