Solved

Specific Rollback segment

Posted on 2004-08-04
4
389 Views
Last Modified: 2008-02-01
Hello experts, I want to make that one procedure use a  specific rollback segment.
I'm programming in Developer 2000 (Forms 6i)

How I can try it?
0
Comment
Question by:karencita78
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
4 Comments
 
LVL 7

Accepted Solution

by:
BobMc earned 25 total points
ID: 11721595
set transaction use rollback segment <segment name>;

This must be the first line in your transaction, and the specified rollback segment will be in use until you end the transaction.

I have to say, except for a very few situations (like using a very large rbs for a big update), I think you should be wary of using such a statement - Oracle is usually very good at allocating the best/least used  rollback segment.

Oracle 9 does away with it all together in favour of UNDO


HTH
Bob
0
 
LVL 8

Assisted Solution

by:sapnam
sapnam earned 25 total points
ID: 11726828
Bob is right about the command, but please note that you cannot give that command directly in Forms. You have to use the forms_ddl built in.  An example is given below :

DECLARE
  rbs_stmnt VARCHAR2(200);
BEGIN
  rbs_stmnt := 'set transaction use rollback segment rbs1';
  forms_ddl(rbs_stmnt);
end;

Please read the forms_ddl built in description given in forms help
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
CRM Online Report - Passing Parameter from Opportunity to Report 1 48
Need to trim my database size 9 53
sql views 3 55
sql trace 4 27
Entering a date in Microsoft Access can be tricky. A typo can cause month and day to be shuffled, entering the day only causes an error, as does entering, say, day 31 in June. This article shows how an inputmask supported by code can help the user a…
This article explains all about SQL Server Piecemeal Restore with examples in step by step manner.
Video by: Steve
Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

734 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question