oracle sql and dba tutorial logo

 

Oracle DBA

Learn Oracle 11g / 12c Database Admin step by step



Oracle SQL

Tutorial for Oracle SQL


Oracle DBA Interview Questions

Most asked Oracle DBA Interview Questions.

60 Technical Questions
42 Backup & Recovery Questions

Unix For Oracle DBA 20 Questions



Download Oracle 11g / 12 c Software

Links to Download Oracle 12c / 11g for Linux, Windows etc.


MySQL Tutorial

Learn MySQL step by step


 

 

 

 

 

 

 

 

 

Migrate MySQL to Oracle - Tutorial Step 3

 

Step 3

Login to Oracle database and create a table by name "orders" with same structure as in MySQL by taking appropriate datatypes and widths. i.e. if the datatype is INTEGER in MySQL it should be NUMBER in Oracle, if it's Varchar in MySQL we should take it as Varchar2 in Oracle and so on.

So the create table command we need to issue in Oracle should be like this

CREATE TABLE orders (
OrderID NUMBER(11) NOT NULL,
CustomerID VARCHAR2(5),
EmployeeID NUMBER(11) ,
OrderDate DATE ,
RequiredDate DATE ,
ShippedDate DATE ,
ShipVia NUMBER(11) ,
Freight NUMBER,
ShipName VARCHAR2(40) ,
ShipAddress VARCHAR2(60) ,
ShipCity VARCHAR2(15) ,
ShipRegion VARCHAR2(15) ,
ShipPostalCode VARCHAR2(10) ,
ShipCountry VARCHAR2(15))

create table in oracle

 

next step

 

 


HomeContact Us

Data Loader

Data Loader is a simple yet powerful tool to
export and import Data between many common database formats


Forms Data Loader

Tool to load data into Oracle E-Business Suite R12 / Oracle Apps using Macros and Forms Record and Playback

Interface Computers Academy © 2007-2017 All Rights Reserved