Database reference - DBDemos

DBDemos -  tables -  industry

Description

none

Table properties

namevalue
nameindustry

Columns

columndatatypelengthdefaultnullsPKFKUQcomment
IND_CODEInt4 yes       
IND_NAMEChar5 yes       
LONG_NAMEChar20 yes       

Indexes

namedescriptioncolumncomment
IND_CODEindex on industryIND_CODE 

Dependency graph

industryIND_CODE

Sample rows

IND_CODEIND_NAMELONG_NAME
3579  SoftW  Computer Software  
3710  Auto   Auto & Truck  
3720  Aero   Aerospace/Defense  
7000  Hotel  Hotel/Gaming  
8000  Med   Medical Services  
3573  Comp   Computer Hardware  
4810  Tele   Telecommunications  

Code

CREATE TABLE [industry]
(
[IND_CODE] INT,
[IND_NAME] CHAR (5) CODE PAGE 1252,
[LONG_NAME] CHAR (20) CODE PAGE 1252
);

CREATE INDEX [IND_CODE] ON [industry] ([IND_CODE]);



Documentation generated by SqlSpec