Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 80
  • Last Modified:

Oracle Next Available Number

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
lrbrister
Asked:
lrbrister
1 Solution
 
slightwv (䄆 Netminder) Commented:
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
 
lrbristerAuthor Commented:
Perfect...
sys.all_sequences
0

Featured Post

Vote for the Most Valuable Expert

It’s time to recognize experts that go above and beyond with helpful solutions and engagement on site. Choose from the top experts in the Hall of Fame or on the right rail of your favorite topic page. Look for the blue “Nominate” button on their profile to vote.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now