Tables [dbo].[ShShipMethods]
PropertyValue
CollationSQL_Latin1_General_CP1_CI_AS
Row Count (~)0
Created1:00:44 AM Thursday, March 21, 2019
Last Modified1:16:22 AM Thursday, March 21, 2019
KeyNameData TypeMax Length (Bytes)Allow NullsDefault
Cluster Primary Key PK_ShShipMethods: ShipMethodIDShipMethodIDint4
False
ShipMethodvarchar(15)15
False
Descriptionvarchar(50)50
False
Activebit1
False
Locksint4
False
((0))
CreatorIDchar(8)8
False
UpdatorIDchar(8)8
False
CreateDatedatetime8
False
(getdate())
LastUpdatedatetime8
False
(getdate())
timestamptimestamp8
True
Foreign Keys FK_ShShipMethods_ShippingCompanyID_ShShippingCompanies: [dbo].[ShShippingCompanies].ShippingCompanyIDShippingCompanyIDint4
True
KeyNameKey ColumnsUniqueFill Factor
Cluster Primary Key PK_ShShipMethods: ShipMethodIDPK_ShShipMethodsShipMethodID
True
80
NameColumns
FK_ShShipMethods_ShippingCompanyID_ShShippingCompaniesShippingCompanyID->[dbo].[ShShippingCompanies].[ShippingCompanyID]
CREATE TABLE [dbo].[ShShipMethods]
(
[ShipMethodID] [int] NOT NULL,
[ShipMethod] [varchar] (15) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
[Description] [varchar] (50) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
[Active] [bit] NOT NULL,
[Locks] [int] NOT NULL CONSTRAINT [DF_ShShipMethods_Locks] DEFAULT ((0)),
[CreatorID] [char] (8) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
[UpdatorID] [char] (8) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
[CreateDate] [datetime] NOT NULL CONSTRAINT [DF_ShShipMethods_CreateDate] DEFAULT (getdate()),
[LastUpdate] [datetime] NOT NULL CONSTRAINT [DF_ShShipMethods_LastUpdate] DEFAULT (getdate()),
[timestamp] [timestamp] NULL,
[ShippingCompanyID] [int] NULL
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[ShShipMethods] ADD CONSTRAINT [PK_ShShipMethods] PRIMARY KEY CLUSTERED  ([ShipMethodID]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[ShShipMethods] ADD CONSTRAINT [FK_ShShipMethods_ShippingCompanyID_ShShippingCompanies] FOREIGN KEY ([ShippingCompanyID]) REFERENCES [dbo].[ShShippingCompanies] ([ShippingCompanyID])
GO