Tables [dbo].[SakariAccountBranchMap]
Properties
PropertyValue
Row Count (~)0
Created8:52:34 AM Friday, October 11, 2024
Last Modified8:52:34 AM Friday, October 11, 2024
Columns
NameData TypeMax Length (Bytes)Allow NullsIdentity
Primary Key PK_SakariAccountBranchMap: SakariAccountBranchMapIDSakariAccountBranchMapIDint4
No
1 - 1
Foreign Keys FK_SakariAccountBranchMap_SakariAccount: [dbo].[SakariAccount].SakariAccountFIDSakariAccountFIDint4
No
Cluster Key IX_SakariAccountBranchMap_BranchFID: BranchFIDForeign Keys FK_SakariAccountBranchMap_Branch: [dbo].[Branch].BranchFIDBranchFIDint4
No
Indexes Indexes
NameColumnsUnique
Primary Key PK_SakariAccountBranchMap: SakariAccountBranchMapIDPK_SakariAccountBranchMapSakariAccountBranchMapID
Yes
Cluster Key IX_SakariAccountBranchMap_BranchFID: BranchFIDIX_SakariAccountBranchMap_BranchFIDBranchFID
Yes
Foreign Keys Foreign Keys
NameColumns
FK_SakariAccountBranchMap_BranchBranchFID->[dbo].[Branch].[BranchPriKey]
FK_SakariAccountBranchMap_SakariAccountSakariAccountFID->[dbo].[SakariAccount].[SakariAccountID]
Permissions
TypeActionOwning Principal
GrantDeleteMssExec
GrantInsertMssExec
GrantSelectMssExec
GrantUpdateMssExec
SQL Script
CREATE TABLE [dbo].[SakariAccountBranchMap]
(
[SakariAccountBranchMapID] [int] NOT NULL IDENTITY(1, 1),
[SakariAccountFID] [int] NOT NULL,
[BranchFID] [int] NOT NULL
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[SakariAccountBranchMap] ADD CONSTRAINT [PK_SakariAccountBranchMap] PRIMARY KEY NONCLUSTERED  ([SakariAccountBranchMapID]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[SakariAccountBranchMap] ADD CONSTRAINT [IX_SakariAccountBranchMap_BranchFID] UNIQUE CLUSTERED  ([BranchFID]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[SakariAccountBranchMap] ADD CONSTRAINT [FK_SakariAccountBranchMap_Branch] FOREIGN KEY ([BranchFID]) REFERENCES [dbo].[Branch] ([BranchPriKey])
GO
ALTER TABLE [dbo].[SakariAccountBranchMap] ADD CONSTRAINT [FK_SakariAccountBranchMap_SakariAccount] FOREIGN KEY ([SakariAccountFID]) REFERENCES [dbo].[SakariAccount] ([SakariAccountID])
GO
GRANT SELECT ON  [dbo].[SakariAccountBranchMap] TO [MssExec]
GRANT INSERT ON  [dbo].[SakariAccountBranchMap] TO [MssExec]
GRANT DELETE ON  [dbo].[SakariAccountBranchMap] TO [MssExec]
GRANT UPDATE ON  [dbo].[SakariAccountBranchMap] TO [MssExec]
GO
Uses
Used By