Skip to Main Content

SQL & PL/SQL

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!

Query in excel sheet cell

Sreelatha PragadapatiApr 11 2017 — edited Apr 11 2017

Hi,
I am trying to have a query in excel column, so that while importing data from  excel sheet to oracle data base,
I want to get the values in the column dynamically generated.
create table test(id varchar2(10), idate date);
excel data:
ID IDATE 
101 select sysdate from dual;
message:

--Insert failed for row  1 
--IDATE GDK-05058: non-numeric character found
--Row 1
INSERT INTO XXX (ID, IDATE) VALUES ('1',to_date('select sysdate from dual;', 'YY-MM-DD'));


What should I do to have a query get executed in place of column value in the table.

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 9 2017
Added on Apr 11 2017
5 comments
847 views