I have a requirement to select the rows from table which is not exist,
consider minimum value for eno is 01 & max 10, whithin this i need to select missing eno's.
I have a requirement to select the rows from table which is not exist,
consider minimum value for eno is 01 & max 10, whithin this i need to select missing eno's.
Joined: 24 Nov 2005 Posts: 130 Location: Tadepalligudem
hi,
if ur eno follows the sequence...then use cursors...and a variable counter...compare the variable counter with each record fetched by the cursor...and write the missing records to a file..increment the variable counter for every read by the cursor..if ur table is not having duplicates..