Solved

Oracle Next Available Number

Posted on 2016-12-01
2
8 Views
Last Modified: 2016-12-01
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 76

Accepted Solution

by:
slightwv (䄆 Netminder) earned 500 total points
Comment Utility
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
Comment Utility
Perfect...
sys.all_sequences
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Oracle SQL Syntax 8 56
Pfile and SPfile - Oracle 2 33
null value 14 57
case statement in where clause with not exist 15 31
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…
Using SQL Scripts we can save all the SQL queries as files that we use very frequently on our database later point of time. This is one of the feature present under SQL Workshop in Oracle Application Express.
This video shows information on the Oracle Data Dictionary, starting with the Oracle documentation, explaining the different types of Data Dictionary views available by group and permissions as well as giving examples on how to retrieve data from th…
This video explains what a user managed backup is and shows how to take one, providing a couple of simple example scripts.

763 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now