AdventureWorks2019
Purchasing.ShipMethod
//
Shipping company lookup table.
Created: Modified:
Columns
-
//${escapify(column.description)}[int] IDENTITY (1,1) NOT NULL
-
//${escapify(column.description)}[Name] NOT NULL//USER-DEFINED DATA TYPE[nvarchar](50) NULL
-
//${escapify(column.description)}[money] NOT NULL DEFAULT ((0.00))//CONSTRAINT: Check constraint [ShipBase] > (0.00)([ShipBase]>(0.00))
-
//${escapify(column.description)}[money] NOT NULL DEFAULT ((0.00))//CONSTRAINT: Check constraint [ShipRate] > (0.00)([ShipRate]>(0.00))
-
//${escapify(column.description)}[uniqueidentifier] NOT NULL DEFAULT (newid())
-
//${escapify(column.description)}[datetime] NOT NULL DEFAULT (getdate())
Indexes
-
//Clustered index created by a primary key constraint.PK_ShipMethod_ShipMethodIDUNIQUE CLUSTEREDShipMethodID
-
//Unique nonclustered index.AK_ShipMethod_NameUNIQUE NONCLUSTEREDName
-
//Unique nonclustered index. Used to support replication samples.AK_ShipMethod_rowguidUNIQUE NONCLUSTEREDrowguid
Sample Data
ShipMethodID
Name
ShipBase
ShipRate
rowguid
ModifiedDate
1
XRQ - TRUCK GROUND
3.95
0.99
6BE756D9-D7BE-4463-8F2C-AE60C710D606
2
ZY - EXPRESS
9.95
1.99
3455079B-F773-4DC6-8F1E-2A58649C4AB8
3
OVERSEAS - DELUXE
29.95
2.99
22F4E461-28CF-4ACE-A980-F686CF112EC8
4
OVERNIGHT J-FAST
21.95
1.29
107E8356-E7A8-463D-B60C-079FFF467F3F
5
CARGO TRANSPORT 5
8.99
1.49
B166019A-B134-4E76-B957-2B0490C610ED