Tables [dbo].[OrderThirdPartys]
Properties
PropertyValue
CollationSQL_Latin1_General_CP1_CI_AS
Row Count (~)421
Created4:57:08 PM Thursday, September 7, 2006
Last Modified7:29:28 PM Thursday, August 29, 2024
Columns
NameData TypeMax Length (Bytes)Allow NullsIdentity
Cluster Primary Key PK_OrderThirdPartys: OrdThirdPartyPriKeyOrdThirdPartyPriKeyint4
No
1 - 1
OrdPriKeyint4
No
VendorIDvarchar(15)15
Yes
Amountmoney8
Yes
PONumbervarchar(20)20
Yes
InvoiceNumbervarchar(20)20
Yes
Descriptionvarchar(60)60
Yes
Datedate3
Yes
InvoiceReceivedDatedate3
Yes
InvoiceApprovedDatedate3
Yes
Indexes Indexes
NameColumnsUniqueFill Factor
Cluster Primary Key PK_OrderThirdPartys: OrdThirdPartyPriKeyPK_OrderThirdPartysOrdThirdPartyPriKey
Yes
80
Permissions
TypeActionOwning Principal
GrantDeleteMssExec
GrantInsertMssExec
GrantSelectMssExec
GrantUpdateMssExec
SQL Script
CREATE TABLE [dbo].[OrderThirdPartys]
(
[OrdThirdPartyPriKey] [int] NOT NULL IDENTITY(1, 1),
[OrdPriKey] [int] NOT NULL,
[VendorID] [varchar] (15) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
[Amount] [money] NULL,
[PONumber] [varchar] (20) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
[InvoiceNumber] [varchar] (20) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
[Description] [varchar] (60) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
[Date] [date] NULL,
[InvoiceReceivedDate] [date] NULL,
[InvoiceApprovedDate] [date] NULL
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[OrderThirdPartys] ADD CONSTRAINT [PK_OrderThirdPartys] PRIMARY KEY CLUSTERED  ([OrdThirdPartyPriKey]) WITH (FILLFACTOR=80) ON [PRIMARY]
GO
GRANT SELECT ON  [dbo].[OrderThirdPartys] TO [MssExec]
GRANT INSERT ON  [dbo].[OrderThirdPartys] TO [MssExec]
GRANT DELETE ON  [dbo].[OrderThirdPartys] TO [MssExec]
GRANT UPDATE ON  [dbo].[OrderThirdPartys] TO [MssExec]
GO
Uses
Used By