Home » SQL & PL/SQL » SQL & PL/SQL » Parallel hint issue (oracle 11g / unix)
Parallel hint issue [message #623397] Tue, 09 September 2014 22:18 Go to next message
balaji123
Messages: 29
Registered: October 2009
Location: sanfrancisco
Junior Member
below sql very often fails with duplicate rows error message. We have oracle11g rac implementation. we dont have duplicate rows in the result set.
Is there any restriction to use parallel hint on DML operations? Please advice.
Thanks in advance.



INSERT /*+ append parallel(a) */
INTO rate_table a
(
cycle_date ,
isn ,
source ,
serial_rej ,
)
SELECT run_date ,
isn ,
source ,
serial_rej ,
FROM stg_table stg
WHERE stg.cdate = TRUNC(p_run_date) - 1 and rownum =1;
Re: Parallel hint issue [message #623398 is a reply to message #623397] Tue, 09 September 2014 22:24 Go to previous messageGo to next message
BlackSwan
Messages: 26766
Registered: January 2009
Location: SoCal
Senior Member
http://www.orafaq.com/forum/m/619064/#msg_619064

since you choose to ignore posting Guidelines, http://www.orafaq.com/forum/t/88153/0/ and http://www.orafaq.com/forum/t/174502/ , I choose to not answer more
Re: Parallel hint issue [message #623400 is a reply to message #623397] Wed, 10 September 2014 00:11 Go to previous message
Michel Cadot
Messages: 68645
Registered: March 2007
Location: Nanterre, France, http://...
Senior Member
Account Moderator

Quote:
Is there any restriction to use parallel hint on DML operations?


You can use what you want.

Previous Topic: RPAD problem
Next Topic: Help SUM
Goto Forum:
  


Current Time: Wed Apr 24 21:04:24 CDT 2024