Home » SQL & PL/SQL » SQL & PL/SQL » ORA-2287 sequence not allowed here
ORA-2287 sequence not allowed here [message #39159] Fri, 21 June 2002 10:23 Go to next message
Anthony
Messages: 48
Registered: September 2000
Member
Hi all,

I want to insert records into a table from three different tables. I am using "insert into ... select.. " The primary key I am trying to populate using a sequence, in one of the other fields, I am summing up some totals I am also using a group by statement.

The message error message I get is that I canīt use a sequence here, is there a reason for this (oracle limitation frīinstance), is there a way around this? or have I made a mistake in coding?

(Please someone tell me Iīve missed a coma somewhere!)

TIA
Re: ORA-2287 sequence not allowed here [message #39160 is a reply to message #39159] Fri, 21 June 2002 10:43 Go to previous messageGo to next message
Mahesh Rajendran
Messages: 10707
Registered: March 2002
Location: oracleDocoVille
Senior Member
Account Moderator
can you post your sql?
:)
Re: ORA-2287 sequence not allowed here [message #39176 is a reply to message #39159] Mon, 24 June 2002 07:49 Go to previous message
Anthony
Messages: 48
Registered: September 2000
Member
Thanks but the requirements have changed so I donīt need to do it.

Thanks again.
Previous Topic: can I convert a variable of table%rowtype to varchar2 type?
Next Topic: urgent - getting in month and upto month figures in the same query
Goto Forum:
  


Current Time: Fri Apr 19 17:24:05 CDT 2024