Quantcast
Channel: Question and Answer » oracle
Viewing all articles
Browse latest Browse all 717

One time data conversion in Oracle tables with excel data

$
0
0

First of all I have very basic knowledge in back end

I need to do an one time data conversion in an Oracle table with a excel sheet data.

Excel sheet have data in below format

OldData NewData
12130   12130
12810   12810
17330   17331

So what I need to do is , I have to compare old data with one of the column in an Oracle table(say a colum called Modifydata in masterdaataTable) and if any column value matches with OldData value in excel , then replace that value with Newdata value from Excel sheet.

I have

OldData NewData
12130   12130
12810   12810
17330   17331

Note:

  1. I have tried using external tables. Since I don’t have the privileges to create directory and all, it didn’t work out.

  2. I have tried "'Microsoft.Jet.OLEDB.4.0', 'Excel 8.0;Database=C:foldernamespreadsheetname.xls;'," logic also.But seems this will work only for MS SQL DB.


Viewing all articles
Browse latest Browse all 717

Trending Articles