Advertisement

06.02.2004 at 10:12AM PDT, ID: 21010749
[x]
Attachment Details

SELECT FOR UPDATE statement

Asked by srinivas_vemla in Oracle Database

Tags: ,

Hey Guys,

I have a sql statement as:

Select nextno from numtable for update;

NOTE: NOWAIT is not specified.

But when I execute this query, I get a ORA-00054 error. So my question is:

Is there a way where-in a FOR UPDATE statement behaves like having NOWAIT? Is it because of timeout? Is there a limit on how many requests can wait on the lock put by one FOR UPDATE statement.

Thanks,
SrinivasStart Free Trial
[+][-]06.02.2004 at 10:18AM PDT, ID: 11214600

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 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]06.02.2004 at 10:24AM PDT, ID: 11214661

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 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]06.02.2004 at 10:45AM PDT, ID: 11214881

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 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]06.02.2004 at 10:47AM PDT, ID: 11214898

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 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]06.02.2004 at 10:48AM PDT, ID: 11214908

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 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]06.02.2004 at 10:54AM PDT, ID: 11214967

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zone: Oracle Database
Tags: update, select
Sign Up Now!
Solution Provided By: vc01778
Participating Experts: 3
Solution Grade: A
 
 
[+][-]06.02.2004 at 10:55AM PDT, ID: 11214986

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 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]06.02.2004 at 11:00AM PDT, ID: 11215037

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 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]06.02.2004 at 11:00AM PDT, ID: 11215042

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 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]11.14.2004 at 06:19AM PST, ID: 12578354

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 7-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32