Difference between revisions of "Purchasing.ShipMethod (table)"

From dbscript Online Help
Jump to: navigation, search
Line 2: Line 2:
  
 
{| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse"
 
{| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse"
|-
+
|- valign="top"
 
| '''Table
 
| '''Table
 
| Purchasing.ShipMethod
 
| Purchasing.ShipMethod
Line 8: Line 8:
 
| '''Description
 
| '''Description
 
| Shipping company lookup table.
 
| Shipping company lookup table.
|-
 
 
|}
 
|}
 
  
 
=== Columns ===
 
=== Columns ===
Line 20: Line 18:
 
| '''Default
 
| '''Default
 
| '''Description
 
| '''Description
+
 
 
|- valign="top"
 
|- valign="top"
 
| ShipMethodID
 
| ShipMethodID
Line 64: Line 62:
 
| '''Primary Key
 
| '''Primary Key
 
| '''Columns
 
| '''Columns
|-
+
|- valign="top"
 
| PK_ShipMethod_ShipMethodID
 
| PK_ShipMethod_ShipMethodID
 
| ShipMethodID
 
| ShipMethodID
Line 75: Line 73:
 
| '''Type
 
| '''Type
 
| '''Columns
 
| '''Columns
+
 
|-
+
|- valign="top"
 
| AK_ShipMethod_Name
 
| AK_ShipMethod_Name
 
| Unique
 
| Unique
 
| Name
 
| Name
|-
+
|- valign="top"
 
| AK_ShipMethod_rowguid
 
| AK_ShipMethod_rowguid
 
| Unique
 
| Unique
Line 92: Line 90:
 
| '''Expression
 
| '''Expression
 
| '''Description
 
| '''Description
+
 
|-
+
|- valign="top"
 
| CK_ShipMethod_ShipBase
 
| CK_ShipMethod_ShipBase
 
| ([ShipBase]>(0.00))
 
| ([ShipBase]>(0.00))
 
| Check constraint [ShipBase] > (0.00)
 
| Check constraint [ShipBase] > (0.00)
|-
+
|- valign="top"
 
| CK_ShipMethod_ShipRate
 
| CK_ShipMethod_ShipRate
 
| ([ShipRate]>(0.00))
 
| ([ShipRate]>(0.00))
Line 109: Line 107:
 
| '''Column
 
| '''Column
 
| '''Referencing Column
 
| '''Referencing Column
+
 
|-
+
|- valign="top"
 
| [[Purchasing.PurchaseOrderHeader_(table)|Purchasing.PurchaseOrderHeader]]
 
| [[Purchasing.PurchaseOrderHeader_(table)|Purchasing.PurchaseOrderHeader]]
 
| ShipMethodID
 
| ShipMethodID
 
| ShipMethodID
 
| ShipMethodID
|-
+
|- valign="top"
 
| [[Sales.SalesOrderHeader_(table)|Sales.SalesOrderHeader]]
 
| [[Sales.SalesOrderHeader_(table)|Sales.SalesOrderHeader]]
 
| ShipMethodID
 
| ShipMethodID
Line 127: Line 125:
 
| '''Referenced Object
 
| '''Referenced Object
  
|-
+
|- valign="top"
 
| Data Type
 
| Data Type
 
| Type
 
| Type
 
| [[dbo.Name_(type)|dbo.Name]]
 
| [[dbo.Name_(type)|dbo.Name]]
  
|-
+
|- valign="top"
 
| Schema
 
| Schema
 
| Schema
 
| Schema

Revision as of 00:17, 24 June 2010

wikibot

Table Purchasing.ShipMethod
Description Shipping company lookup table.

Columns

Column Data Type Nullable Default Description
ShipMethodID int not null Primary key for ShipMethod records.
Name dbo.Name not null Shipping company name.
ShipBase money not null ((0.00)) Minimum shipping charge.
ShipRate money not null ((0.00)) Shipping charge per pound.
rowguid uniqueidentifier not null (newid()) ROWGUIDCOL number uniquely identifying the record. Used to support a merge replication sample.
ModifiedDate datetime not null (getdate()) Date and time the record was last updated.

Primary Key

Primary Key Columns
PK_ShipMethod_ShipMethodID ShipMethodID

Indexes

Index Type Columns
AK_ShipMethod_Name Unique Name
AK_ShipMethod_rowguid Unique rowguid

Check Constraints

Check Constraint Expression Description
CK_ShipMethod_ShipBase ([ShipBase]>(0.00)) Check constraint [ShipBase] > (0.00)
CK_ShipMethod_ShipRate ([ShipRate]>(0.00)) Check constraint [ShipRate] > (0.00)

Detail Tables

Detail Table Column Referencing Column
Purchasing.PurchaseOrderHeader ShipMethodID ShipMethodID
Sales.SalesOrderHeader ShipMethodID ShipMethodID

References

Dependency Type Object Type Referenced Object
Data Type Type dbo.Name
Schema Schema Purchasing


wikivalues

Table Values Purchasing.ShipMethod


ShipMethodID Name ShipBase ShipRate
1 XRQ - TRUCK GROUND 3.95 0.99
2 ZY - EXPRESS 9.95 1.99
3 OVERSEAS - DELUXE 29.95 2.99
4 OVERNIGHT J-FAST 21.95 1.29
5 CARGO TRANSPORT 5 8.99 1.49

automatically generated

Table Purchasing.ShipMethod
Description Shipping company lookup table.


Column Data Type Nullable Default Description / PK / Index
ShipMethodID int not null Primary key for ShipMethod records.
PK_ShipMethod_ShipMethodID
Name Name not null Shipping company name.
AK_ShipMethod_Name
ShipBase money not null (0.00) Minimum shipping charge.
ShipRate money not null (0.00) Shipping charge per pound.
rowguid uniqueidentifier not null (NEWID()) ROWGUIDCOL number uniquely identifying the record. Used to support a merge replication sample.
AK_ShipMethod_rowguid
ModifiedDate datetime not null (GETDATE()) Date and time the record was last updated.


Detail Table Column Referencing Column
Purchasing.PurchaseOrderHeader ShipMethodID ShipMethodID
Sales.SalesOrderHeader ShipMethodID ShipMethodID


Dependency Type Object Type Referenced Object
Data Type Type dbo.Name
Schema Schema Purchasing