I'm planning to try the following query:
insert /*+APPEND*/ into local_table
SELECT /*+ DRIVING_SITE(remote_view) */ LOWER (field_1) ,field_2,TO_CHAR(field_3,'YYYYMMDD'), my_local_function(field_4)
FROM remote_view
WHERE LOWER(field_5) in (select /*+ full(my_local_list)*/...
Hi,
It's not a row-by-row loop because the table "my_list" has 2-3 rows. I'm trying to identify the bottleneck of this system/procedure written by others (running in a production system every night), so I can't switch to SQL PLUS or change the output format for data fields.
In the past they...
Hi,
this is the procedure's code:
EXECUTE IMMEDIATE 'ALTER TABLE local_table NOLOGGING';
EXECUTE IMMEDIATE 'DROP INDEX aaaaaaaa';
EXECUTE IMMEDIATE 'DROP INDEX bbbbbbbb';
EXECUTE IMMEDIATE 'truncate table local_table';
for rec in (select distinct(lower(tipo)) tipo from my_list ) loop
insert...
Hello,
I'm getting the following error:
ORA-00604: error occurred at recursive SQL level 1
ORA-30036: unable to extend segment by 8 in undo tablespace 'UNDOTBS1'
for the query (in a stored procedure of my local db):
insert /*+APPEND*/ into local_table
SELECT * from...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.