[x]
Posted via EE Mobile

Search, ask, and monitor your questions on the go with EE Mobile. Visit Experts Exchange from your mobile device and never be out of touch again.

Question
[x]
Attachment Details

change uploaded csv array insert command into an update statemnet

Asked by ODOTServer in PL / SQL, Oracle Database, Oracle 11.x Database

after uploading a csv file. this code inserts into the table..
but I would like to change it so that It will update instead of insert..
-------------------
l_ddl := 'insert into '||p_table_name||' '||
                   'select '||v(p_columns_item)||' '||
                   'from htmldb_collections '||
                   'where seq_id > 0 and collection_name='''||p_collection_name||'''';
 
          execute immediate l_ddl;
--------------------------

full code is located in a previous post:
http://www.experts-exchange.com/Database/Oracle/PL_SQL/Q_24861355.html

 
Related Solutions
Keywords: change uploaded csv array insert com…
 
Loading Advertisement...
 
[+][-]11/03/09 05:16 AM, ID: 25728575Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]11/03/09 05:33 AM, ID: 25728714Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]11/03/09 06:08 AM, ID: 25729036Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20091111-EE-VQP-89 - Hierarchy / EE_QW_3_20080625