Solved

Oracle Next Available Number

Posted on 2016-12-01
2
51 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
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

Active Directory Webinar

We all know we need to protect and secure our privileges, but where to start? Join Experts Exchange and ManageEngine on Tuesday, April 11, 2017 10:00 AM PDT to learn how to track and secure privileged users in Active Directory.

Question has a verified solution.

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

Suggested Solutions

This article started out as an Experts-Exchange question, which then grew into a quick tip to go along with an IOUG presentation for the Collaborate confernce and then later grew again into a full blown article with expanded functionality and legacy…
Working with Network Access Control Lists in Oracle 11g (part 1) Part 2: http://www.e-e.com/A_9074.html So, you upgraded to a shiny new 11g database and all of a sudden every program that used UTL_MAIL, UTL_SMTP, UTL_TCP, UTL_HTTP or any oth…
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 how to copy an entire tablespace from one database to another database using Transportable Tablespace functionality.

820 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