Buildmasters Legacy Database Documentation

Table: Northwind.dbo.Suppliers

CollapseAll image

Collapse image Table Properties

Name  Value 
 Owner  dbo
 Creation Date  12/13/2004
 ID  2137058649
 Located On  PRIMARY
 Data Size KB  24 KB
 Index Size KB  48 KB
 Rows  29

Collapse image Creation Options

Name  Value 
QUOTED_IDENTIFIER ON
ANSI_NULLS ON
ANSI_PADDING ON

Collapse image Columns

    Name  Description  Data Type  Max Length  Nullable  Default IsGUID 
Primary Key Identity SupplierID   int 4  
Field   CompanyName   nvarchar 40  
Field   ContactName   nvarchar 30  
Field   ContactTitle   nvarchar 30  
Field   Address   nvarchar 60  
Field   City   nvarchar 15  
Field   Region   nvarchar 15  
Field   PostalCode   nvarchar 10  
Field   Country   nvarchar 15  
Field   Phone   nvarchar 24  
Field   Fax   nvarchar 24  
Field   HomePage   ntext 1073741823  
Total: 12 column(s)

Collapse image Indexes

  Index  Primary  Unique 
PK_Suppliers
CompanyName
PostalCode

Collapse image Fulltext Index

No fulltext index exist

Collapse image Statistics

No statistics exist

Collapse image Check Constraints

No check constraints exist

Collapse image Identity Column

  Name  Seed  Increment  Not for replication 
 SupplierID   1   1 

Collapse image Referencing Tables

  Table  Foreign Key  Primary Key or Unique Constraint 
Products FK_Products_Suppliers PK_Suppliers
Total: 1 table(s)

Collapse image Referenced Tables

No referenced tables exist

Collapse image Objects that depend on Suppliers

  Object Name Object Type Dep Level
[Customer and Suppliers by City] View 1
Products Table 1
[Alphabetical list of products] View 2
[Current Product List] View 2
CustOrderHist Procedure 2
CustOrdersDetail Procedure 2
Invoices View 2
[Order Details Extended] View 2
[Order Details] Table 2
[Product Sales for 1997] View 2
[Products Above Average Price] View 2
[Products by Category] View 2
[Sales by Category] View 2
SalesByCategory Procedure 2
[Ten Most Expensive Products] Procedure 2
[Category Sales for 1997] View 3
[Order Subtotals] View 3
[Employee Sales by Country] Procedure 4
[Sales by Year] Procedure 4
[Sales Totals by Amount] View 4
[Summary of Sales by Quarter] View 4
[Summary of Sales by Year] View 4
Total 22 object(s)

Collapse image Objects that Suppliers depends on

No dependencies exist

Collapse image Column Level Dependencies

No dependencies exist

Collapse image Graphical Dependencies

Click Here to view Dependencies Graphically

Collapse image Extended Properties

No extended properties defined

Collapse image Permissions

No permissions defined

Collapse image Table Options

Name  Value 
Pintable OFF
Table lock on bulk load OFF
Insert row lock OFF
Text in row 0
Large value types out of row 0

Collapse image SQL

SET ANSI_NULLS ON
SET QUOTED_IDENTIFIER ON
SET ANSI_PADDING ON
GO
CREATE TABLE [dbo].[Suppliers] (
        [SupplierID]       int NOT NULL IDENTITY(1, 1),
        [CompanyName]      nvarchar(40) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
        [ContactName]      nvarchar(30) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
        [ContactTitle]     nvarchar(30) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
        [Address]          nvarchar(60) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
        [City]             nvarchar(15) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
        [Region]           nvarchar(15) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
        [PostalCode]       nvarchar(10) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
        [Country]          nvarchar(15) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
        [Phone]            nvarchar(24) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
        [Fax]              nvarchar(24) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
        [HomePage]         ntext COLLATE SQL_Latin1_General_CP1_CI_AS NULL
)
ON [PRIMARY]
TEXTIMAGE_ON [PRIMARY]
GO
ALTER TABLE [dbo].[Suppliers]
    ADD
    CONSTRAINT [PK_Suppliers]
    PRIMARY KEY
    ([SupplierID])
    ON [PRIMARY]
GO
CREATE INDEX [CompanyName]
    ON [dbo].[Suppliers] ([CompanyName])
    ON [PRIMARY]
GO
CREATE INDEX [PostalCode]
    ON [dbo].[Suppliers] ([PostalCode])
    ON [PRIMARY]
GO

Collapse image See also

List of Tables


Buildmasters.com.au




Buildmasters Legacy Database Documentation