0 ratings 0% found this document useful (0 votes) 283 views 7 pages Oracle To Microsoft SQL Server Migration - SQLines
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content,
claim it here .
Available Formats
Download as PDF or read online on Scribd
Go to previous items Go to next items
Save Oracle to Microsoft SQL Server Migration - SQLines For Later sri7e017
Migration to MariaDB
16M DB2 to MariaDB
Informix to MariaDB
Sybase ASE to MariaD8
Oracle to MariaDB
I Server to MariaDe
Migration to MySQL
16M Da? to MySOL
Informix to MySOL
‘Sybase ASE to MySOL
‘Oracle fo MvSOL
SQL Server to MySQL
Migration to Oracle
‘IBM_DB2 to Oracle
Informix to Oracle
Sybase ASE to Oracle
Sybase ASA to Oracle
SOL Server to Oracle
‘Teradata to Oracle
PostoresOl to Or
‘MySQL to Oracle.
Migration to SQL Server
16M DB2 to SOL Server
Informix to SOL Server
‘Sybase ASE to SOl Server
‘Sybase ASA to SOL Server
‘Oracle to SQL Server
MySOL to SOL Server
Migration to PostgreSQL
‘IBM_DB? to PostaresOL
Informix to PostaresOL
Sybase ASE to PostaresoL
Sybase ASA to PostareSOL
Oracle to PosteresoL
SOL Server to PostaresOl,
Migration to Redshift
SOL Server to Redshift
Migration to Netezza
Oracle to Netezza,
Migration to Greenplum
16M DB? to Greenplum
‘Oracle to Greenplum
Migration to EsgynDB
hnpaheww seines.comforacle-o-se-server
‘Oracle to MicrosoR SOL Sarver Migration - SQLines
wsri7e017 ‘Oracle lo Microsoh SOL Sorver Migration - SQLines
Oracle to Esqynd3
Ten Esavnbe
Application Conversion
Java
ce ner
PowerBuilder
‘coBOL
Informix acl.
Progress 4GL_
SQLines Data
‘Configuration File
Connection Strings
New Features
SQLines SQL Converter
New Features
Database Reference
Oracle to Microsoft SQL Server Migration
‘SQLines provides tools to help you transfer data, convert database schema (ODL), views, stored procedures, functions, packages,
triggers, queries and SQ, scripts from Oracle to Microsoft SQL Server,
We also help convert embedded SOL statements in C/C++ (ODBC, Pro*C, OCI), C#, Java, PowerBuilder, VB/VB.NET, ASP/ASP.NET,
Python, Perl/PHP and other applications.
+ Oracle 12c, 119, 109 and 91
+ Microsoft $Ql, Server 2016, 2014, 2012, 2008 anc 2005
Oracle to SQL Server Migration Tools
‘SQLines tools to help you migrate from Oracle to $QL Server:
+ SQUines - Database and SOL Conversion Too!
+ SOlines Data - Data Transfer and Database Schema Migration Too!
+ Online SQL Conversion Tool [http:/wo-saines.com/online]
SQLines SQL Converter Too!
SQLines $QL Converter tool allows you to convert database scherna (DDL), queries and DML statements, views, stored procedures,
functions, packages and triggers from Oracle to SOL Server.
‘SQLInes tool converts SQL, scripts and standalone $QL statements. To migrate data and database schema fram an Oracle database
Use SQlines Data toa
Try SQUnes Online [
s/w sqines.com/enline] oF download a Teal Version [hetpi//wwu.salines.com/downlead-signin]
hnpaheww seines.comforacle-o-se-serversrimeot7 ‘Oracle lo Microsoh SOL Sorver Migration - SQLines
Oracle to SQL Server Migration Reference
‘Technical information on migration from Oracle to Microsoft SQL Server
+ Data Types
+ Built-in SOL Functions
+ CREATE TABLE
+ SELECT Statement
+ CREATE PROCEDURE
+ CREATE FUNCTION
+ PLISOL Statements
+ SOL Statements
+ Built-in PL/SOL Packages
+ SOL*PIus Commands
+ C# Anolications
+ PowerBuilder Applications
Last Update: Oracle 12c and Microsoft SOI, Server 2014
SQL Language Elements
Converting $QL and PL/SQ1. language elements:
[oracte [gh Sever
[u ooaraar Seng cencatenaton|. peratr and CONCAT function
2] ana = oneratars tr aate|Dateame artamate | and «Onamtors for dati
s[ewseswvorrouno —|nerowtenee — [ewrercxstarus - 0
For more information, see Conversion of PL/SOL Statements to Tansact-SO)
Data Types
Data type mapping
foncie sat Sever
fs [eon [binary large object, = 46, [VARBINARY (max)
5 [OUR GRATER) —__[Foslengt sing, 1x = 2000 QHAR(), CHARACTER
[ECOL DECC) | Fase-pone nu ECMAL A) DES)
3 NTERVAC DAY) TO CONG [Day od Ee TT fancranc30)
isle mae ny oa, © 26 fanananvno
rowan Fondsnngih UTe-8 We ena 2000 |NaT)
eb integer 1e=p <3 frnwint [Co 12258)
hpahwwa:sqines com
acleto-sg-secver
arsrimeot7
‘Oracle to MicrosoR SOL Sarver Migration - SQLines
20] NUMBERD 5) Pxed-point number § > 0 ecimatin.s)
| NUMBER, NUMBER) Featng- pant number FLOR
22 NUMERIC =} Fxed-pant numb NUMERIC
23 WARCHARRKN) [varyng-ongth UTICO airing, Fw nw €000 [ VARCHAR)
apa [Varigblctengt binary aring, 1 =n w 2000 | VARSINARY (9)
26 [ROWED Pry row address fovaaciey
[sau 38 ci inter DECIMAL(38)
30 [UROWTDK Lageal rom aaeresses, 1 =n © 4000 [VARCHAR
32 vaRCHAR (a) ariabietengt suing, Tem ea francaancoy
Data Type Attributes
[Sok Server
[Garacter Date Types ave and GHAR col sua Semantics [size always Bytes
Built-in SQL Functions
Converting built-in functions from Oracle to $QL Server
Storage and physical attributes
[oracle [Sah Server
sides a) [aden menthe to dateome — [paLeapo(menth od
2) peconetex, when, nen vaste conaions xn Wit when THEN than en
FEXTRACT(YEAR FROM aatctine) [Gat the year Won datetime [YEAEdtatme)
3 [EXTRACT WONTH FROM datetime) | Ge the month rom datetime | MONTH (dattina
EXTRACT(DAY FROM deetie) — [Get the doy from datetime [DAY(dttine)
sfucwns wcnwcenda a2 [arr otfernce mmenths —— |ycerdenned tncion
s|srsare [Ge current dan nd tine [SETDATE()
[to cianldaase termash convert dateome to sing VERRAN ae)
a reamsrnoy [rir leing 2 wating spaces [CTR RTRIM(Sn9))
5 [rmuncraseeine Truncate soaine essing using CONVERT
CREATE TABLE Statement
Converting CREATE TABLE statement keywords and clauses:
[oracte [son server
STORAGE clause
orecie [sah Server
[5 [COMPRESS [BASIC] | COMPRESS mum | NOCOWPRESS [Removed
fe [LossiNG | ovoscmNG: Removed
[7 [SEGNENT CREATION INNEDIATE | BEFERRED [Removed
5-[L08 (coumn) STORE AS BASIC FILE (params) [Remus
10 PARALLEL mur | NOPARALLEL Removed
forecte [Eau Server
hntpahwww selines.comforacle-to-se-server
ansrimeot7
‘Oracle to MicrosoR SOL Sarver Migration - SQLines
f[AKEXTENTS num [UNLIMITED Rerved
[5 [PTINGREASE nur ervee
fs [OUFFER_ POOL DEFAULT | KEEP RECYCLE [Removes
a-[FLASH_CACHE DEPAUCT | KEEP [NONE |Reroved
6 cELL_FLASH_ CACHE OEFAUCT [KEEP | NONE Removed
LOB storage clause:
[erecta [Sa Server
2 [DISABLE | ENABLE STORAGE IN ROW [Removed
[enn num Remove
SELECT Statement
Converting SOL queries from Oracle to $QL Server
[orecte [Son Server
[UAL bie [single vem, single coun dummy ble] FROM clause con be ening, UAL remave|
2] aos (SeLecr -) [options ates for subquery Faow (SELECT -1 [tas recuires
CREATE PROCEDURE Statement
Converting CREATE PROCEDURE statement:
[Soh Server
2 [param IN| OUT {IN OUT datatype DEFAULT detut| param datatype = default OUT
s[is 135. ls
5 [variable declaravon ie before BEGIN Jaraion i ater BEG
For more information, see Conversion of PL/SOL Statements to Transact-SQL
CREATE FUNCTION Statement
Converting CREATE FUNCTION statement from Oracle to SQh, Server:
[oracle [sh Server
7 | cREATE OR REPLACE [concconsl OROP FUNCTION
[is 1as ls
PL/SQL Statements
For more information, see Conversion of PL/SOL Statements to Transact-SQL.
Converting Oracle PL/SQL statements and clauses to Transact-SQL:
[orecte [sah Server
7 frariabe datatype = value [arabe deceraton [DECLARE evarable aataiype = value
2 [variable abe calrmnnaTV inverted daa ype [evarinieaateype
hntpahwwa seines.comforacle-to-se-server
87srimeot7
‘Oracle to MicrosoR SOL Sarver Migration - SQLines
[variable cursoraeROn TYPE lcursor-pase record [Ustof variables
[arabe = vale Assignment statement] SET evariable = valu
5 | ACcuTE DIMCOUATE al USING params [Eeaute anamic $0, [EKECsp eaeculeel Beal Normal, Gowans|
6 [SELECT col NTO var FROM [Stet a singie row [SELECT var = col FROM
Cursor declaration and operations
an Sever
[cunsom curipavonel IS saec| Curse dectoraion
loreN curtoaramsy open decired cursor
[oreN aut cur FOR varsbio_[S=ttn 2s set
EXECUTE (@varabi)
[iF curssnOTFOUND THEN [No row fetched IF G@FETOH STATUS = OBEGIN
5] ET WHEN curNOTFOUND: [Leave curser bop [IF @GFETOH_STATUS <> 0 BREAK!
Flow-of-control statements:
[oracte Rak Server
SQL Statements
Converting Oracle SQ, statements to $OL Server:
[oracle [SQ Server
[cone ow COLUMN schema ab a1 wae [HEY 39_sddoRendedpropery ME Dercapton, ot
Built-in PL/SQL Packages
Converting built-in PUSQL, packages:
[oracle [sat Server
[pans OTTRTTATT neo [Oo
SQL*Plus Commands
Converting Oracle $Q.*Plus commands to SQLCMD commands in SQL. Server:
[oracle [Sau Server]
2 REM | REMARK to Single ne comment te
3] avarable Subsetuton variable na ert steanable)
Converting C# Applications
Converting embedded SOL and database access code in C# applications:
+ Qverview
: ing RET in
Converting PowerBuilder Applications
Converting embedded $01, and database access code in PowerBuilder applications:
+ Overview
+ DUAL Table in Embedded SOL.
+ Empty String and NULL
hnpshwwa seines.comforacle-to-se-server
ersri7e017 ‘Oracle lo Microsoh SOL Sorver Migration - SQLines
Copyright © 2010 - 2017. All Rights Reserved. Privacy Statement
hnpaheww seines.comforacle-o-se-server
oa