Databases > AdventureWorks2019 > Tables > Purchasing.Vendor

AdventureWorks2019

Purchasing.Vendor

//
Companies from whom Adventure Works Cycles purchases parts or other goods.

Created: Modified:

Columns

  • //
    ${escapify(column.description)}
    BusinessEntityID
    [int] NOT NULL
  • //
    ${escapify(column.description)}
    AccountNumber
    [AccountNumber] NOT NULL
    //
    USER-DEFINED DATA TYPE
    [nvarchar](15) NULL
  • //
    ${escapify(column.description)}
    Name
    [Name] NOT NULL
    //
    USER-DEFINED DATA TYPE
    [nvarchar](50) NULL
  • //
    ${escapify(column.description)}
    CreditRating
    [tinyint] NOT NULL
    //
    CONSTRAINT: Check constraint [CreditRating] BETWEEN (1) AND (5)
    ([CreditRating]>=(1) AND [CreditRating]<=(5))
  • //
    ${escapify(column.description)}
    PreferredVendorStatus
    [Flag] NOT NULL DEFAULT ((1))
    //
    USER-DEFINED DATA TYPE
    [bit] NOT NULL
  • //
    ${escapify(column.description)}
    ActiveFlag
    [Flag] NOT NULL DEFAULT ((1))
    //
    USER-DEFINED DATA TYPE
    [bit] NOT NULL
  • //
    ${escapify(column.description)}
    PurchasingWebServiceURL
    [nvarchar](1024) NULL
  • //
    ${escapify(column.description)}
    ModifiedDate
    [datetime] NOT NULL DEFAULT (getdate())

Indexes

  • //
    Clustered index created by a primary key constraint.
    PK_Vendor_BusinessEntityID
    UNIQUE CLUSTERED
    BusinessEntityID
  • //
    Unique nonclustered index.
    AK_Vendor_AccountNumber
    UNIQUE NONCLUSTERED
    AccountNumber

Foreign Keys

  • //
    Foreign key constraint referencing BusinessEntity.BusinessEntityID
    FK_Vendor_BusinessEntity_BusinessEntityID
    Person.BusinessEntity
    BusinessEntityID ⥱ BusinessEntityID

Sample Data

BusinessEntityID
AccountNumber
Name
CreditRating
PreferredVendorStatus
ActiveFlag
PurchasingWebServiceURL
ModifiedDate
1492
AUSTRALI0001
Australia Bike Retailer
1
true
true
NULL
1494
ALLENSON0001
Allenson Cycles
2
true
true
NULL
1496
ADVANCED0001
Advanced Bicycles
1
true
true
NULL
1498
TRIKES0001
Trikes, Inc.
2
true
true
NULL
1500
MORGANB0001
Morgan Bike Accessories
1
true
true
NULL
1502
CYCLING0001
Cycling Master
1
true
true
NULL
1504
CHICAGO0002
Chicago Rent-All
2
true
true
NULL
1506
GREENWOO0001
Greenwood Athletic Company
1
true
true
NULL
1508
COMPETE0001
Compete Enterprises, Inc
1
true
true
NULL
1510
INTERNAT0001
International
1
true
true
NULL
1512
LIGHTSP0001
Light Speed
1
true
true
NULL
1514
TRAINING0001
Training Systems
1
true
true
NULL
1516
GARDNER0001
Gardner Touring Cycles
1
NULL
NULL
NULL
1518
INTERNAT0004
International Trek Center
1
true
true
NULL
1520
G&KBI0001
G & K Bicycle Corp.
1
true
true
NULL
1522
FIRSTNA0001
First National Sport Co.
1
true
true
NULL
1524
RECREATI0001
Recreation Place
4
true
true
NULL
1526
INTERNAT0002
International Bicycles
1
true
true
NULL
1528
IMAGEMA0001
Image Makers Bike Center
1
true
true
NULL
1530
COMFORT0001
Comfort Road Bicycles
1
true
true
NULL
1532
KNOPFLER0001
Knopfler Cycles
1
true
true
NULL
1534
READYRE0001
Ready Rentals
1
true
true
NULL
1536
CRUGERB0001
Cruger Bike Company
1
true
true
NULL
1538
VISTARO0001
Vista Road Bikes
3
true
true
NULL
1540
BERGERON0001
Bergeron Off-Roads
1
true
true
NULL