troubleshooting Question

Find missing serials

Avatar of m_jundi
m_jundiFlag for Jordan asked on
DatabasesOracle DatabaseSQL
4 Comments1 Solution87 ViewsLast Modified:
Hello,

How to find a missing sequence Using oracle 8i from a table ?  the purpose I need to assign available sequences automatically for customer accounts, as below example :

Account_no
1
2
4
5
8

results:
1) The result of the query is 3 , when (3) inserted in the table, query should get 6..etc.
2) Also how can I find all missing sequences , result : 3,6,7 using one select?

Thank You
ASKER CERTIFIED SOLUTION
m_jundi

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 4 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 4 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros