Tables [dbo].[AccountingNote]
This table stores notes linked to various accounting transactions
Properties
PropertyValue
CollationSQL_Latin1_General_CP1_CI_AS
HeapYes
Row Count (~)2827
Created4:57:07 PM Thursday, September 7, 2006
Last Modified3:46:14 PM Tuesday, November 18, 2014
Columns
NameData TypeMax Length (Bytes)Allow NullsIdentityDescription
Primary Key PK_AccountingNote: ANPriKeyANPriKeyint4
No
1 - 1Primary key of this table
DateCreateddatetime8
No
The date the note was added to the database
Foreign Keys FK_AccountingNote_Sysuser: [dbo].[Sysuser].CreatedByIndexes IX_AccountingNote_CreatedBy: CreatedByCreatedByint4
No
MoverSuite user that created the note
NoteTextvarchar(1024)1024
No
The body of the note message
Indexes Indexes
NameColumnsUniqueFill Factor
Primary Key PK_AccountingNote: ANPriKeyPK_AccountingNoteANPriKey
Yes
80
IX_AccountingNote_CreatedByCreatedBy
Foreign Keys Foreign Keys
NameColumns
FK_AccountingNote_SysuserCreatedBy->[dbo].[Sysuser].[SysUserID]
Permissions
TypeActionOwning Principal
GrantDeleteMssExec
GrantInsertMssExec
GrantSelectMssExec
GrantUpdateMssExec
SQL Script
CREATE TABLE [dbo].[AccountingNote]
(
[ANPriKey] [int] NOT NULL IDENTITY(1, 1),
[DateCreated] [datetime] NOT NULL,
[CreatedBy] [int] NOT NULL,
[NoteText] [varchar] (1024) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[AccountingNote] ADD CONSTRAINT [PK_AccountingNote] PRIMARY KEY NONCLUSTERED  ([ANPriKey]) WITH (FILLFACTOR=80) ON [PRIMARY]
GO
CREATE NONCLUSTERED INDEX [IX_AccountingNote_CreatedBy] ON [dbo].[AccountingNote] ([CreatedBy]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[AccountingNote] ADD CONSTRAINT [FK_AccountingNote_Sysuser] FOREIGN KEY ([CreatedBy]) REFERENCES [dbo].[Sysuser] ([SysUserID])
GO
GRANT SELECT ON  [dbo].[AccountingNote] TO [MssExec]
GRANT INSERT ON  [dbo].[AccountingNote] TO [MssExec]
GRANT DELETE ON  [dbo].[AccountingNote] TO [MssExec]
GRANT UPDATE ON  [dbo].[AccountingNote] TO [MssExec]
GO
EXEC sp_addextendedproperty N'MS_Description', N'This table stores notes linked to various accounting transactions', 'SCHEMA', N'dbo', 'TABLE', N'AccountingNote', NULL, NULL
GO
EXEC sp_addextendedproperty N'MS_Description', N'Primary key of this table', 'SCHEMA', N'dbo', 'TABLE', N'AccountingNote', 'COLUMN', N'ANPriKey'
GO
EXEC sp_addextendedproperty N'MS_Description', N'MoverSuite user that created the note', 'SCHEMA', N'dbo', 'TABLE', N'AccountingNote', 'COLUMN', N'CreatedBy'
GO
EXEC sp_addextendedproperty N'MS_Description', N'The date the note was added to the database', 'SCHEMA', N'dbo', 'TABLE', N'AccountingNote', 'COLUMN', N'DateCreated'
GO
EXEC sp_addextendedproperty N'MS_Description', N'The body of the note message', 'SCHEMA', N'dbo', 'TABLE', N'AccountingNote', 'COLUMN', N'NoteText'
GO
Uses
Used By