Tables [dbo].[GLControl]
Properties
PropertyValue
CollationSQL_Latin1_General_CP1_CI_AS
Row Count (~)11
Created4:57:06 PM Thursday, September 7, 2006
Last Modified9:12:02 AM Wednesday, January 29, 2025
Columns
NameData TypeMax Length (Bytes)Allow NullsIdentity
Cluster Primary Key PK_GLControl: GLCPriKeyGLCPriKeyint4
No
1 - 1
Descriptionvarchar(30)30
No
AServervarchar(50)50
Yes
ADataBasevarchar(50)50
Yes
CustomerNumbervarchar(15)15
Yes
DynamicsDbNamevarchar(128)128
Yes
Foreign Keys FK_GLControl_AccountingCustomer: [dbo].[AccountingCustomer].AccountingCustomerFidAccountingCustomerFidint4
Yes
Indexes Indexes
NameColumnsUniqueFill Factor
Cluster Primary Key PK_GLControl: GLCPriKeyPK_GLControlGLCPriKey
Yes
80
Foreign Keys Foreign Keys
NameColumns
FK_GLControl_AccountingCustomerAccountingCustomerFid->[dbo].[AccountingCustomer].[AccountingCustomerId]
Permissions
TypeActionOwning Principal
GrantDeleteMssExec
GrantInsertMssExec
GrantSelectMssExec
GrantUpdateMssExec
SQL Script
CREATE TABLE [dbo].[GLControl]
(
[GLCPriKey] [int] NOT NULL IDENTITY(1, 1),
[Description] [varchar] (30) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
[AServer] [varchar] (50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
[ADataBase] [varchar] (50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
[CustomerNumber] [varchar] (15) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
[DynamicsDbName] [varchar] (128) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
[AccountingCustomerFid] [int] NULL
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[GLControl] ADD CONSTRAINT [PK_GLControl] PRIMARY KEY CLUSTERED  ([GLCPriKey]) WITH (FILLFACTOR=80) ON [PRIMARY]
GO
ALTER TABLE [dbo].[GLControl] ADD CONSTRAINT [FK_GLControl_AccountingCustomer] FOREIGN KEY ([AccountingCustomerFid]) REFERENCES [dbo].[AccountingCustomer] ([AccountingCustomerId])
GO
GRANT SELECT ON  [dbo].[GLControl] TO [MssExec]
GRANT INSERT ON  [dbo].[GLControl] TO [MssExec]
GRANT DELETE ON  [dbo].[GLControl] TO [MssExec]
GRANT UPDATE ON  [dbo].[GLControl] TO [MssExec]
GO
Uses
Used By