Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: Convert Mysql table schema to Oracle table

Re: Convert Mysql table schema to Oracle table

From: Jon <jonathan.p.crawford_at_gmail.com>
Date: 22 Mar 2006 15:53:24 -0800
Message-ID: <1143071604.765385.237980@i40g2000cwc.googlegroups.com>


This worked

CREATE TABLE builds (
  id number(10) default(0) NOT NULL,
  product varchar(50) ,
  branch varchar(100) ,
  type varchar(20) ,
  release varchar(20) ,
  change_number number(10),
  build_date date ,
  status varchar(20) default('succeeded'),   saved varchar(1),
  build_source varchar(20) default('vmware'),   PRIMARY KEY (id),
  CONSTRAINT CC_STATUS CHECK(status in('succeeded','failed')),   CONSTRAINT CC_BUILD_SOURCE CHECK(build_source in('vmware','community')),
  CONSTRAINT CC_SAVED CHECK(saved in ('y','n')) ) Received on Wed Mar 22 2006 - 17:53:24 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US