Database reference - AdventureWorks2008

AdventureWorks2008 -  tables -  [Production].[Illustration]

Description

Bicycle assembly diagrams. 

Table properties

namevalue
name[Production].[Illustration]
createdMar 19 2009 9:09PM
modifiedMar 19 2009 9:10PM 
ansi nullson 
quoted identifieron 
row count5
Size of data240 kb
Size of indexes8 kb
Maximum size of a single row2,147,483,658 bytes

Columns

columndatatypelengthbytesdefaultnullsPKFKUQcomputedcomment
IllustrationIDint identity(1,1)104 no  yes    no  Primary key for Illustration records. 
Diagramxmlmax2147483646 yes      no  Illustrations used in manufacturing instructions. Stored as XML. 
ModifiedDatedatetime238(getdate())no      no  Date and time the record was last updated. 

Indexes

namedescriptioncolumncomment
PK_Illustration_IllustrationIDclustered, unique, primary key located on PRIMARYIllustrationIDClustered index created by a primary key constraint. 

Referenced by

name
ProductModelIllustration

Foreign key graph

IllustrationProductModelIllustration

Defaults

default namecolumncomment
DF_Illustration_ModifiedDateModifiedDateDefault constraint value of GETDATE() 

Dependency graph

DF_Illustration_ModifiedDateIllustrationPK_Illustration_IllustrationID...

Sample rows

IllustrationIDDiagramModifiedDate
<!-- Generated by Adobe Illustrator CS -> XAML Export Plug-In Version 0.17 --><!-- For question...  2/10/2004 1:06:11 PM 
<!-- Generated by Adobe Illustrator CS -> XAML Export Plug-In Version 0.17 --><!-- For question...  2/10/2004 1:06:11 PM 
<!-- Generated by Adobe Illustrator CS -> XAML Export Plug-In Version 0.17 --><!-- For question...  2/10/2004 1:06:11 PM 
<!-- Generated by Adobe Illustrator CS -> XAML Export Plug-In Version 0.17 --><!-- For question...  2/10/2004 1:06:12 PM 
<!-- Generated by Adobe Illustrator CS -> XAML Export Plug-In Version 0.17 --><!-- For question...  2/10/2004 1:06:12 PM 

Code

CREATE TABLE [Production].[Illustration](
    [IllustrationID] [int] IDENTITY(1,1) NOT NULL,
    [Diagram] [xml] NULL,
    [ModifiedDate] [datetime] NOT NULL,
 CONSTRAINT [PK_Illustration_IllustrationID] PRIMARY KEY CLUSTERED 
(
    [IllustrationID] ASC
)WITH (PAD_INDEX  = OFF, STATISTICS_NORECOMPUTE  = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS  = ON, ALLOW_PAGE_LOCKS  = ON) ON [PRIMARY]
) ON [PRIMARY]

ALTER TABLE [Production].[Illustration] ADD  CONSTRAINT [DF_Illustration_ModifiedDate]  DEFAULT (getdate()) FOR [ModifiedDate]



Documentation generated by SqlSpec