Uploading a CSV File into an Oracle Database

Tuesday Jun 14th 2011 by DatabaseJournal.com Staff
Share:

Uploading a flat file into an Oracle database.

>>Script Language and Platform: Oracle
Uploading a flat file into an Oracle database.

Author: Lynette

	load data
 infile "F:\Land Bank\Issues and Actions.csv" badfile "info.bad" discardfile "info.dis"
 into table issues_actions
 fields terminated by ","     
 ( section,
   issue,
   action,
   responsible,
   meeting );

sqlldr username/password@server control=info.ctl

Disclaimer: We hope that the information on these script pages is valuable to you. Your use of the information contained in these pages, however, is at your sole risk. All information on these pages is provided "as -is", without any warranty, whether express or implied, of its accuracy, completeness, or fitness for a particular purpose... Disclaimer Continued

Back to Database Journal Home

Share:
Home
Mobile Site | Full Site
Copyright 2017 © QuinStreet Inc. All Rights Reserved