IBM 7.2.1 manual Create table Orders, CHARACTERSmallint VARCHARSmallint BLOBSmallint

Page 13

DB2 Everyplace Characteristics

CREATE TABLE

with following datatypes

INTEGER

SMALLINT

DECIMAL (Big)

CHARACTER(Smallint)

VARCHAR(Smallint)

BLOB(Smallint)

DATE

TIME TIMESTAMP

and options

PRIMARY KEY with more than one column referential constraints

CHECK constraints

CREATE TABLE

 

 

create table ORDERS

 

 

 

 

 

 

(CUSTNO CHAR(6)

NOT NULL,

ENTRY TIMESTAMP

NOT NULL DEFAULT Current Timestamp,

ITEM CHAR(15) ,

PRICE DECIMAL(9,2),

Check (Price < 100),

PRIMARY KEY (CUSTNO,ENTRY))

Page 25-26

Image 13
Contents Agenda DB2 EveryplaceThings to think about IBM Mobile solutions-- technical overviewIBM DB2 Family IBM Pervasive Computing Vision DB2 Everyplace Sync connection options DB2 Everyplace WHY??Business applications Field Force Automation Gas de France ISVs and partnersAsset Tracking Essential Systems Healthcare AsatteAsset Tracking Application DB2E database DB2E sync server UDB on Palm On LinuxRetail/Easy of Use Penn State Retail/Sales Force Automation NetSetGoDB2 Everyplace System Monitoring/Embedded X-SerwisDB2 Everyplace Architecture DB2 Everyplace SolutionDB2 Everyplace SQL DB2 Everyplace CharacteristicsCHARACTERSmallint VARCHARSmallint BLOBSmallint Create table OrdersSync Server Design Overview DB2 Everyplace FunctionsFunctions supported Expression can beMdac is the tool to define all these object properties Mobile device administration centerCommercial Development tools contd Robust Development environmentReferences/resources EndEnterprise Edition Packaging & Pricing