Professional Documents
Culture Documents
(HTTP://KARANBALKAR.COM/)
S TA R T PA US E R UN BUT NE VE R S TOP!!!
Tutorial#23:Load
datafromflatfileto
Oracletableusing
ODI
Postedon MAY 15, 2013
( H TTP ://KARAN BAL KAR. C O M/2013/05/TU TO RI AL 23
L O AD D ATAF RO MF L ATF I L ETO O RAC L ETABL E
U SI N G O D I /) by KARAN BAL KAR
( H TTP ://KARAN BAL KAR. C O M/AU TH O R/KARAN BAL KAR/
)
Helloeveryone!
Mytodaystutorialwillfocusonmigratingdatafrom
aflatfiletoanOracletable.Iwouldbecreatinga
simpletextfile(.txt).UsingOracleDataIntegrator,I
will load the source file data into my target table in
Oracle.
Prerequisites: Oracle 10g Express Edition with
*SQLPlus,OracleDataIntegrator11g(BuildVersion
11.1.1.7.0)
(http://feeds.feedburn
er.com/karanbalkar)
Feed
(http://karanbalkar.co
m/)
Tutorial#100:The
SwitchfromKitKatto
Lollipop!
(http://feedproxy.googl
e.com/~r/karanbalkar/
~3/NRlTMehsts/)
Tutorial#99:Sende
mailusingJavaMailin
JSP
(http://feedproxy.googl
e.com/~r/karanbalkar/
~3/SGWEFwMeaA/)
Tutorial#98:Calling
webservicesusing
PL/SQLinOracle
(http://feedproxy.googl
e.com/~r/karanbalkar/
~3/UNhHZeodEpY/)
JoinmeonFacebook
ThreadsOfLifebyKaran
Balkar
Like
380peoplelikeThreadsOfLifebyKaranBalkar
3Prasad
4Hanif
Create a table named KARAN_FILE in the Oracle
database.
createtableKARAN_FILE(custidint
primarykey,custnamevarchar2(30));
Facebooksocialplugin
andfollowbelowsteps!
Step1: Create data server and physical schema for
table
FavoriteLinks
AndroidDevelopers
Blog(http://android
developers.blogspot.in/
)
(http://karanbalkar.com/2013/05/tutorial23load
datafromflatfiletooracletableusing
odi/data_server_table/)
(http://karanbalkar.com/2013/05/tutorial23load
datafromflatfiletooracletableusing
odi/data_server_table_2/)
AnotherStupidCoder's
Blog
(http://srivatsaniyer.bl
ogspot.in/)
CodingHorror
(http://www.codinghor
ror.com/blog/)
ExperienceThe
Creativity
(http://sarangasl.blogs
pot.in/)
ManasGajare'sBlog
(http://manasgajare.co
m/)
TheGlobalPanorama
(http://theglobalpanora
ma.com/)
(http://karanbalkar.com/2013/05/tutorial23load
datafromflatfiletooracletableusing
odi/physical_schema_table/)
BlogStats
Visitstoday:1937
Step2:Createlogicalschemafortable
RecentPosts
(http://karanbalkar.com/2013/05/tutorial
23loaddatafromflatfiletooracletable
usingodi/logical_schema_table/)
createlogicalschemafortable
Note:Makesureyoutestyourconnectionbyclicking
on the Test Connection button while creating your
dataserver!
Step3: Create data server and physical schema for
flatfile
(http://karanbalkar.com/2013/05/tutorial23load
datafromflatfiletooracletableusing
odi/data_server_file/)
(http://karanbalkar.com/2013/05/tutorial23load
datafromflatfiletooracletableusing
odi/data_server_file_2/)
Tutorial#100:The
SwitchfromKitKatto
Lollipop!
(http://karanbalkar.co
m/2014/12/tutorial
100theswitchfrom
kitkattolollipop/)
Tutorial#99:Sende
mailusingJavaMailin
JSP
(http://karanbalkar.co
m/2014/12/tutorial99
sendemailusing
javamailinjsp/)
Tutorial#98:Calling
webservicesusing
PL/SQLinOracle
(http://karanbalkar.co
m/2014/12/tutorial98
callingwebservices
usingplsqlinoracle/)
Tutorial#97:Generate
multilanguagePDF
usingiTextinJava
(http://karanbalkar.co
m/2014/12/tutorial97
generatemulti
languagepdfusing
itextinjava/)
Tutorial#96:
Implementmulti
languagesupportin
Android
(http://karanbalkar.co
m/2014/12/tutorial96
implementmulti
languagesupportin
android/)
(http://karanbalkar.com/2013/05/tutorial23load
datafromflatfiletooracletableusing
odi/physical_schema_file/)
Step4:Createlogicalschemaforflatfile
(http://karanbalkar.com/2013/05/tutorial
23loaddatafromflatfiletooracletable
usingodi/logical_schema_file/)
createlogicalschemaforfile
Note:Makesureyoutestyourconnectionbyclicking
on the Test Connection button while creating your
dataserver!
Step 5: Create new model folders to contain table
andfiledatamodelsrespectively
UndertheDesignertab,gotoModelsandcreatea
newmodelfoldernamedcustomer_data.Addanew
model with same name to that folder by reverse
engineeringyourtargettable.
(http://karanbalkar.com/2013/05/tutorial
23loaddatafromflatfiletooracletable
usingodi/data_model_table/)
createdatamodelfortable
(http://karanbalkar.com/2013/05/tutorial
23loaddatafromflatfiletooracletable
RecentComments
HoussemonTutorial
#22:GeneratePDF
usingDroidTextin
Android
(http://karanbalkar.co
m/2013/05/tutorial22
generatepdfusing
droidtextin
android/#comment
12007)
KaranBalkar
(http://karanbalkar.co
m)onTutorial#22:
GeneratePDFusing
DroidTextinAndroid
(http://karanbalkar.co
m/2013/05/tutorial22
generatepdfusing
droidtextin
android/#comment
12005)
KaranBalkar
(http://karanbalkar.co
m)onTutorial#41:
UsingAlarmManager
andBroadcastReceiver
inAndroid
(http://karanbalkar.co
m/2013/07/tutorial41
usingalarmmanager
andbroadcastreceiver
inandroid/#comment
12004)
KaranBalkar
(http://karanbalkar.co
m)onTutorial#92:
LiveStreamingusing
VitamioinAndroid
(http://karanbalkar.co
m/2014/11/tutorial92
livestreamingusing
vitamioin
android/#comment
12003)
KaranBalkar
(http://karanbalkar.co
usingodi/data_model_file/)
createdatamodelforfile
m)onTutorial#41:
UsingAlarmManager
andBroadcastReceiver
inAndroid
(http://karanbalkar.co
m/2013/07/tutorial41
usingalarmmanager
andbroadcastreceiver
inandroid/#comment
12002)
(http://karanbalkar.com/2013/05/tutorial23load
datafromflatfiletooracletableusing
odi/data_model_file_2/)
Tags
accelerometer, agent,
android,
androidlollipop, angular
js, animation,
birthday, c++,
datafromflatfiletooracletableusing
event, friendship,
goldengate, google,
odi/data_model_file_3/)
googlemaps, HTML5,
(http://karanbalkar.com/2013/05/tutorial23load
iText,
java, Java
(http://karanbalkar.com/2013/05/tutorial23load
datafromflatfiletooracletableusing
odi/data_model_file_4/)
Step6:Createanewinterfacenamedfile_to_table
ODI,
oracle,
processing, python,
qt, qt5,
sony, tool,
widget, windows,
xml,
Categories
Personal
(http://karanbalkar.co
m/category/personal/)
Tech
(http://karanbalkar.co
m/category/tech/)
(http://karanbalkar.com/2013/05/tutorial23load
TipsAndTricks
(http://karanbalkar.co
m/category/tipsand
tricks/)
datafromflatfiletooracletableusing
odi/interface_2/)
Archives
December2014
(http://karanbalkar.co
m/2014/12/)
(http://karanbalkar.com/2013/05/tutorial
23loaddatafromflatfiletooracletable
usingodi/interface_1/)
createnewinterface
November2014
(http://karanbalkar.co
m/2014/11/)
October2014
(http://karanbalkar.co
m/2014/10/)
September2014
(http://karanbalkar.co
m/2014/09/)
August2014
(http://karanbalkar.co
m/2014/08/)
(http://karanbalkar.com/2013/05/tutorial23load
datafromflatfiletooracletableusing
odi/interface_3/)
July2014
(http://karanbalkar.co
m/2014/07/)
June2014
(http://karanbalkar.co
m/2014/06/)
May2014
(http://karanbalkar.co
m/2014/05/)
(http://karanbalkar.com/2013/05/tutorial
23loaddatafromflatfiletooracletable
usingodi/final_output/)
Output
March2014
(http://karanbalkar.co
m/2014/03/)
February2014
(http://karanbalkar.co
m/2014/02/)
January2014
(http://karanbalkar.co
AboutKaranBalkar
m/2014/01/)
December2013
(http://karanbalkar.co
m/2013/12/)
(http://karanbalkar.com/author/Karan
Balkar/)
selfproclaimedextraterrestrialfandroid,computer
engineer,amateurgameranddiehardpunkrock
fan!
Facebook
(https://www.facebook.com/karan.balkar)Twitte
r(https://twitter.com/karanbalkar)Linkedin
(http://in.linkedin.com/pub/karan
balkar/33/722/559)Google
(https://plus.google.com/+KaranBalkar)
Thisentrywaspostedin Tech
(http://karanbalkar.com/category/tech/) andtagged flatfile
(http://karanbalkar.com/tag/flatfile/) , ODI
(http://karanbalkar.com/tag/odi/) , oracle
(http://karanbalkar.com/tag/oracle/) .Bookmarkthe permalink
(http://karanbalkar.com/2013/05/tutorial23loaddatafromflat
filetooracletableusingodi/) .
P REVIOU S
(HTTP ://KARANBALKAR. COM/2013/05/TU TORIAL
22G ENERATEP DFU SING DROIDTEXTIN
ANDROID/)
October2013
(http://karanbalkar.co
m/2013/10/)
September2013
(http://karanbalkar.co
m/2013/09/)
August2013
(http://karanbalkar.co
m/2013/08/)
July2013
(http://karanbalkar.co
m/2013/07/)
June2013
(http://karanbalkar.co
m/2013/06/)
May2013
(http://karanbalkar.co
m/2013/05/)
April2013
(http://karanbalkar.co
m/2013/04/)
March2013
(http://karanbalkar.co
m/2013/03/)
NEXT
(HTTP ://KARANBALKAR. COM/2013/05/TU TORIAL
24CREATING Y ELLOW INTERFACEINODI/)
February2013
(http://karanbalkar.co
m/2013/02/)
January2013
(http://karanbalkar.co
m/2013/01/)
LeaveaReply
Youremailaddresswillnotbepublished.Requiredfieldsare
marked
*
Name*
November2013
(http://karanbalkar.co
m/2013/11/)
November2012
(http://karanbalkar.co
m/2012/11/)
October2012
(http://karanbalkar.co
m/2012/10/)
Email*
Website
Comment
September2012
(http://karanbalkar.co
m/2012/09/)
POS T COMME NT
TH R EA D S O F L IF E
0
Tweet