Skip to Main Content

DevOps, CI/CD and Automation

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Using OLEDB to export Excel data to Oracle database.

user2880112Nov 30 2014 — edited Jan 6 2015

I'm using OLEDB to export data from Excel sheet to table in oracle DB.

I connected to oracle DB with success, I executed the insert command to table, the row is inserted but the field is blank when the value passed is variable. have you any experience on that?

Dim meter_dcs As String

meter_dcs = "Compteur"

strSQL = "INSERT INTO r5readingsinterface (rei_meter, rei_object) values ( '" & meter_dcs & "' , 'OBJECT') "

the result after inserting :

select rei_meter, rei_object from r5readingsinterface

pastedImage_3.png

the question is why the rei_meter is blank?

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 3 2015
Added on Nov 30 2014
1 comment
1,339 views