|
[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. |
|
|
|
|
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_col
lection_na
me||'''';
execute immediate l_ddl;
--------------------------
full code is located in a previous post:
http://www.experts-exchange.com/Database/Oracle/PL_SQL/Q_24861355.html
20091111-EE-VQP-89 - Hierarchy / EE_QW_3_20080625