VMware VCLOUD SDK FOR JAVA 1.0 - DEVELOPER S GUIDE Manuale Utente Pagina 55

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 65
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 54
53
create table orders (
orderid int not null,
userid varchar(80) not null,
orderdate date not null,
shipaddr1 varchar(80) not null,
shipaddr2 varchar(80) ,
shipcity varchar(80) not null,
shipstate varchar(80) not null,
shipzip varchar(20) not null,
shipcountry varchar(20) not null,
billaddr1 varchar(80) not null,
billaddr2 varchar(80) ,
billcity varchar(80) not null,
billstate varchar(80) not null,
billzip varchar(20) not null,
billcountry varchar(20) not null,
courier varchar(80) not null,
totalprice decimal(10,2) not null,
billtofirstname varchar(80) not null,
billtolastname varchar(80) not null,
shiptofirstname varchar(80) not null,
shiptolastname varchar(80) not null,
creditcard varchar(80) not null,
exprdate varchar(7) not null,
cardtype varchar(80) not null,
locale varchar(80) not null,
constraint pk_orders primary key (orderid)
) HUB(ALL);
create table orderstatus (
orderid int not null,
linenum int not null,
timestamp date not null,
status varchar(2) not null,
constraint pk_orderstatus primary key (orderid, linenum)
)
HUB(ALL)
PARTITION BY column(orderid) COLOCATE WITH (orders);
create table lineitem (
orderid int not null,
linenum int not null,
itemid varchar(10) not null,
quantity int not null,
Vedere la pagina 54
1 2 ... 50 51 52 53 54 55 56 57 58 59 60 ... 64 65

Commenti su questo manuale

Nessun commento