Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

finding the missing number from the table

755232Dec 14 2010 — edited Dec 16 2010
I have vendor table with the following column, refvendor_id, the refvendor_id is a primary key in the table. the customer use the application to enter information to the vendor table using an interface
created in Java. my question is how can I query the refvendor_id numbers that have been skipped by the customer when they enter information to the vendor table.
refvendor_id is a varchar data type.
for example

refvenodr_id
1
2
3
5
6
9

I would like to capture in my sql the refvendor_id that is skipped here.
4,7,8

select refvendor_id
from  vendor
This post has been answered by hm on Dec 15 2010
Jump to Answer

Comments

Raj Mitra-267934

Hi All,

Can anyone help on this please.

How to create a date from rule for below.

20210401

Where 2021 will be from substitution variables.

Regards,
Srikanth

Stu G-Oracle

Hi Srikanth
What is the use case? What are users entering and what is the output you are looking for, e.g. a member of type "Date" or something else?
Regards
Stu

1 - 2
Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Jan 13 2011
Added on Dec 14 2010
13 comments
1,561 views