Solved

Oracle Next Available Number

Posted on 2016-12-01
2
71 Views
Last Modified: 2017-01-17
I have inherited a VERY old Mapics System running on Oracle8i Release 8.1.7.0.0 - Production

I need to know where I could look to find Current numbers, next available numbers and Max Number using PSQL on specific tables
0
Comment
Question by:lrbrister
[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
2 Comments
 
LVL 77

Accepted Solution

by:
slightwv (䄆 Netminder) earned 500 total points
ID: 41909048
What numbers?

If the system is using Oracle Sequences you can get a list of them from the ALL_SEQUENECES view:
http://docs.oracle.com/cd/A87860_01/doc/server.817/a76961/ch273.htm#70966

Specifically the sequence_name, last_number and max_value columns.
0
 

Author Closing Comment

by:lrbrister
ID: 41909056
Perfect...
sys.all_sequences
0

Featured Post

Instantly Create Instructional Tutorials

Contextual Guidance at the moment of need helps your employees adopt to new software or processes instantly. Boost knowledge retention and employee engagement step-by-step with one easy solution.

Question has a verified solution.

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

Have you ever had to make fundamental changes to a table in Oracle, but haven't been able to get any downtime?  I'm talking things like: * Dropping columns * Shrinking allocated space * Removing chained blocks and restoring the PCTFREE * Re-or…
When it comes to protecting Oracle Database servers and systems, there are a ton of myths out there. Here are the most common.
This video explains at a high level with the mandatory Oracle Memory processes are as well as touching on some of the more common optional ones.
This video shows syntax for various backup options while discussing how the different basic backup types work.  It explains how to take full backups, incremental level 0 backups, incremental level 1 backups in both differential and cumulative mode a…
Suggested Courses

632 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