FIRST MISSING NO

IN A LIST OF NUMBERS
1 2 3 4 5 6 10
NOS 7 8 9 ARE MISSING
HOW TO FIND THE FIRST MISSING NO TAT IS HOW TO FIND 7.
PLEASE ANYBODY HELP ME

Alternative method without using analytical functions...
SQL> ed
Wrote file afiedt.buf
  1  with t as
  2    (select 1 no from dual
  3  union select 2 from dual
  4  union select 3 from dual
  5  union select 4 from dual
  6  union select 5 from dual
  7  union select 6 from dual
  8  union select 10 from dual
  9    )
10  -- end of test data
11  select min(no)
12  from (
13    select rownum no from dual connect by rownum <= (select max(no) from t)
14    minus
15    select no from t
16*   )
SQL> /
   MIN(NO)
         7
SQL>

Similar Messages

  • Songs "missing" from playlist still in library

    I've seen similar threads but my issue is slightly different. I do apologize if this is a duplicate post.
    In many of my playlists, a song will now be marked as missing by an exclamation point.  However, the song is still in the library and I can manually locate it.  This is happening to too many songs (70 at last count) so it is a PIA to fix.  Any ideas how to automate this? Suggestions on how to stop this from happening (this isn't the first time)?
    I haven't moved any songs or made changes to song names or libraries. The songs are in the same place and when I click locate for the first missing song in the list, iTunes goes directly to the right folder.  For each subsequent song, I've got to point iTunes.
    Thanks!

    Not a Sony Vaio. I have one of the first iPods. It was a gift. It's not that songs disappear from the playlist in the iPod, but from playlists on the computer. They are in the music library and I have to copy and paste them back into the playlist I want them in. I haven't lost any from the music library, fortunately.
    The playlists (I have a bunch of them) are blue with a music note. The songs in the playlists have checkmarks next to them, and are all checked. They just drop out of a playlist every now and again and I have to copy it back in. I can go for a while and think "hey, I haven't heard X in a long time". And sure enough it's dropped from the playlist in the computer, and I have to copy it back in from the library, then resynch the iPod. Really weird and mildly annoying.

  • Premiere CS6 skips/does not play first second of vob file - while with vlc all fine

    Hello everyone!
    I am trying to edit vob files (after being ripped on hdd) and Premiere seems to skip the the first second in the media browser, source monitor etc. after import. When opened with vlc-player the vob file is just fine and the first (missing) second (part of a sentence) is there. So I tried to convert the vob file to an avi file with Adobe Media Encoder. Same thing the first second is missing in the avi file. Adobe Bridge - same thing. Same problem with other vob files.
    What can I do? Thank you very much for your kind help!
    Best, Michael
    System: Windows 7 (64) all updated. Master Collection CS6 all updated (Premiere Pro CS6 - 6.0.1 etc.)

    Michael,
    Is both the Audio and the Video missing from the VOB in PrPro?
    Is the Audio DD 5.1 SS in AC3?
    Though certainly not YOUR case, if your Audio is DD 5.1, then it is recommended to allow ~ 2.0 sec. of silence at the beginning of the Audio Stream, to allow the equipment to "lock onto" the signal. This most often happens with higher-end DVD/BD players - you are getting similar in PrPro, and not a high-end DVD/BD player.
    If you rip the DVD in Audition, or similar, does the entire Audio Stream show up, like it does in VLC player?
    One last question, regards your internal HDD, from which you are editing. Is it at least 7,200 RPM, or is it a 5,400 RPM drive?
    Good luck, and as should be obvious, I am just thinking out loud here.
    Hunt

  • Grouping to display null values for all the missing dates

    Hi SAP,
    I am trying to display '0.00' value for all the missing dates in my crystal reports as follows:
    17-Jan-14     40.00
    18-Jan-14       0.00
    19-Jan-14       0.00
    20-Jan-14     80.00
    However, my crystal report is showing as follows:
    17-Jan-14     40.00
    18-Jan-14       0.00
    19-Jan-14
    20-Jan-14     80.00
    The missing dates with no data are group together and my '0.00' value is not. Kindly advise me the solution. The formula is shown as per attached.
    Thank you.
    Regards.

    Hi,
    Thanks for your reply.
    Fyi, I am using a formula field in crystal report to display "0.00" for days in between as follows:
    whileprintingrecords;
    if Days_Between({Command.DocDate},next({Command.DocDate}),'dd-MMM-yy') = "" then "" else "0.00"
    There is another formula field in crystal report to display the missing dates in between as follows:
    whileprintingrecords;
    Days_Between({Command.DocDate},next({Command.DocDate}),'dd-MMM-yy')
    Below is my report custom functions:
    Function Days_Between (datefield as datetime, nextdatefield as datetime, format as string)
    ' This function is only used to display what data is missing within a specified date range...output type is text
    dim thisdate as date
    dim nextdate as date
    dim output as string 'output is the text display
    dim daysbetween as number
    dim looptimes as number
    looptimes = 0
    daysbetween = 0
    output = ""
    thisdate = datevalue(datefield) + 1
    nextdate = datevalue(nextdatefield)
    if nextdate - thisdate > 1 then daysbetween = nextdate - thisdate else daysbetween = 1
    do
    if nextdate - thisdate > 1 _
    then output = output + totext(thisdate, format) + chr(10) _
    else _
    if nextdate - thisdate > 0 _
    then output = output + totext(thisdate, format)
    looptimes = looptimes + 1
    thisdate = thisdate + 1
    loop until looptimes = daysbetween
        Days_Between = output
    End Function
    The issue arise when when there is more than one missing dates in between but the null values ("0.00") displayed is only for the first missing dates and not for all the missing dates.
    Regards,
    Ting Wei 

  • MISSING FILES???   PSE 8

    I am in the process of moving from one (older) computer to another (newer faster) computer. I tried to open a saved project from the newer computer via shared netwoark access to the project saved on the older PC. The problem I am having is at when I open the project its asks me to open each picture and or video clip in the assemlbed project. Why is it opening up this way when It can open the entire project on the older Pwithout any prompts to locate missing files (media clips and videos). What should I open to ensure the software is able to open all pieces and parts I used to make the project? When using the older PC I am able to open the project without any issues.  What files do I need to move over to the new PC in order to open and edit existing projects on the old PC?
    I hope I explained this clear enough. Thanks for any help on this issue

    PrE uses absolute Paths in the links to Assets. When the Paths change (could be a drive letter, the files' names, etc.) then the links are broken.
    PrE is asking for help. The Paths are not correct any longer, so it cannot Open the Project with the Assets. It's pretty smart though, in that if you help it find the first missing file in a folder, it will search that folder for any more missing files. If the files were Moved to different folders, one will need to repeat the Find process for each of those folders.
    Now, PrE does not like to work from networked drives, even Mapped network drives. It will work much better, if you move the Assets to either an internal, or external HDD.
    Do not let PrE Offline the Media, and then do a Save for the Project, as you will overwrite that PREL file, and then you will need to manually relink those Assets, one at a time, and that can be tedious, as PrE will no longer do the folder search for others - it's one at a time. Instead, do a Save_As, so you can go back to that original Project.
    This ARTICLE will give you more info on the PREL, what it contains, and how the various Save options differ.
    Good luck,
    Hunt

  • Missing text in posts in Archive on Blog page

    I need help! When I go back through my archive on my blog page for the previous 10 months through iWeb, my entries start to appear as first, missing the text, and further back, missing text and pics! I am using it as a digital diary of my baby's development so am freaking out a bit. Any idea's on what is going wrong?? Thank you!

    Welcome to the discussions. It's a common problem:
    _blog archives missing text but photos still show_
    _Blank Blog Archive Page?_
    ...and you may find more threads by searching for "archive" in the +Search Forum+ bar on this forum's main page.
    pinchys wrote:
    Any idea's on what is going wrong??
    Basically iWeb's blog is buggy and, in the end, it comes down to this:
    _To blog or not to blog_

  • Large Catalog with missing files

    I have a very large catalog (over 30k files) in PSE 8. I just purchased PSE 10 and will be upgrading it. As I was making a full backup prior to the upgrade, I realized there are many missing files (requiring reconnecting). Some PRE files that I purposefully dieted, others are TBD.
    Since my catalog is so large and there seem to be a few hundred missing, it makes sense to only view the missing files so i can delete those that need to be deleted ,etc. I thought there was a way to view only files that were missing (that need to be reconnected) but I am unable to figure it out. Any help would be greatly appreciated in finding a way to just display the missing files.
    Thanks in advance,
    Daniel

      When you click reconnect as soon as Organizer finds the first missing file you get the option to reconnect manually.
    Click the browse button and when the dialog open you will get a full list of missing files in the left hand pane. The top one is usually highlighted and you can scroll to the bottom of the list and shift click to select them all and delete them from the catalog. Nothing is deleted from disk.
     

  • PDF Form Submit Alert to find missing fields

    I have created a PDF form using Adobe Acrobat X Pro for our website and am testing it. When I submit my form, but have left required fields blank, I want it to locate those blank fields.  Instead it makes me find the missing fields, which is hard to do on my complex form. Please help I have searched and found no answers.

    I see. You can't change this built-in feature behavior, but you could implement your own scheme with JavaScript. The problem with this approach is it won't work if JavaScript is disabled or not (fully) supported, as with most mobile PDF viewers. It would involve replacing the Submit Form action with the submitForm JavaScript method, but only after a script scans the required fields to see if any are blank. The script could set just the missing fields' border color and even set the focus to the first missing one. One problem with setting the border color is it would print in that color, unlike the other type of highlighting.
    If you want to pursue this JavaScript option, post again.

  • Converting kext to be tiger (and perhaps leo) compatible, missing simbols

    I'm trying to convert MaceEnet.kext to be leopard compatible, but right now I only have a mac with tiger 10.4.11 and xcode 2.5.
    The extensions builds without problems now but it gives me an error about missing simbols when I try do load it using kextload (or even if I reboot)
    first missing simbol was _mbuf
    so I added to the info.plist
    com.apple.kpi.libkern 8.0.0
    com.apple.kpi.bsd 8.0.0
    com.apple.kpi.iokit 8.0.0
    com.apple.kpi.mach 8.0.0
    com.apple.kpi.unsupported 8.0.0
    now the messages it prints are:
    kextload: extension AppleMaceEthernet.kext appears to be valid
    kextload: loading extension AppleMaceEthernet.kext
    kld(): Undefined symbols:
    __Z12IODBDMAPausePV23IODBDMAChannelRegisters
    __Z12IODBDMAResetPV23IODBDMAChannelRegisters
    __Z15IODBDMAContinuePV23IODBDMAChannelRegisters
    __ZN16AppleMacIODevice9metaClassE
    kextload: kldload_frommemory() failed for module /Volumes/Extra/Projects/AppleMaceEthernet_old/build/Release/AppleMaceEthernet.k ext/Contents/MacOS/AppleMaceEthernet
    kextload: a link/load error occured for kernel extension AppleMaceEthernet.kext
    load failed for extension AppleMaceEthernet.kext
    (run kextload with -t for diagnostic output)
    it seems to be a info.plist problem since adding the entries changed the output but i don't know what to do next.
    Any help would be very appreciated.

    Needed to add com.apple.kernel.mach
    Unfortunatly the extensions crashes both on tiger and on leopard also.

  • Oracle Designer Install and Missing DLL's

    To Whom It May Concern:
    I downloaded Oracle Designer from the download page on the Oracle site and am having difficulty installing and/or starting the Oracle Designer application.
    1) Oracle Designer Install Win32 does not allow Home names longer than 16 characters.
    ??? - the default Home name for Oracle Client 10g is OraClient10g_Home1
    2) After installation, Unable to locate [xxx].dll occurred multiple times. I manually copied the first missing DLL to the Oracle\...\Client_1\bin directory from [ZipFile]Install\Win32, but I couldn't find the second dll.
    What do I need to do to be able to use Oracle Designer?
    I am Running Oracle Client 10g on Win XP Pro SP 2
    Thank you,
    Alan Gerber

    Original question withdrawn.
    I found the small print...Oracle Developer Suite Required.
    For those of us new to this environment, you might consider putting the requirements/dependencies on the download page or in the installation program.
    Thank you,
    Alan Gerber

  • Status of db backup taken after 2 logs archived went missing

    Hi ,
    what would be the effect or issues of the full db backup & archivelog backup of 9i db taken after 2 archive logs missing that were never backed up, since backup, or crosscheck did't alerted any error messages. will this be still a valid backup to restore or recovery in case.
    posting the backup script details;
    note:we are not using catalog repository
    run {
    allocate channel dev1 type disk format 'Z:\Rbackup\DMP\db_t%t_s%s_p%p';
    allocate channel dev2 type disk format 'Z:\Rbackup\DMP\db_t%t_s%s_p%p';
    backup database;
    backup archivelog all;
    delete noprompt archivelog until time 'sysdate-1' ;
    crosscheck archivelog all;
    release channel dev1 ;
    release channel dev2 ;
    }

    logs missing date is Jan 14th and no backups were taken on this day. In that case, the "BACKUP ARCHIVELOG ALL" on the 15th would have generated an error flagging the missing archivelogs because the "ALL" specification is a direction to backup all known ArchiveLogs that are available for backup. The only reasons why it wouldn't have flagged the missing ArchiveLogs would be :
    a. You have another job that deletes archivelogs and this one ran before the backup on 15th Jan
    b. The ArchiveLogs are in the FRA and Oracle had automatically purged ArchiveLogs when the FRA was running low on free space.
    The Backup on 15th is good for restore and recovery. Use the "VALIDATE" command in RMAN to validate the database and archivelogs.
    See http://hemantoracledba.blogspot.com/2010/03/misinterpreting-restore-database.html
    However, as two archivelogs are missing and not backed up, you will not be able to do a Point In Time Recovery to any point in time from the time of the first missing archivelog to the end of the backup of the 15th.
    Hemant K Chitale

  • Unidentifiable duplicates in catalog

    I'm trying to help my mom who is having a problem with Photoshop Elements 9.
    I think what she's done has been some mixture of accidental move, delete or restore of some photos via Windows Explorer - I'm actually not quite sure what she's done. I can see what Organizer has done but I don't know how to fix it.
    What I can see is that some photos tagged as FAMILY or EUROPEAN TRIPS appear twice in Organizer thumbnail view. For example Organizer shows two entries in the catalog for an image called DSC1234.JPG.  One of these is tagged correctly and links to a correct file that actually exists (can be found via Windows Explorer in "D:\Photos\family pics\DSC1234.JPG").  The other has the identical filename, is unlinked, untagged, and marked as "?", and has a location of "D:\Photos\family holidays" which doesn't exist.
    What's apparently happening is that Organizer is identifying the first DSC1234.JPG with the file on disk (correctly), but then doesn't realize the second file with the same name is a duplicate catalog entry - it thinks there should be a different photo with the same name on the hard disk that this catalog entry should be linked to, tries to find it, and (obviously) cannot.
    What I need to do is find all unlinked/"missing" photos in the catalog that have the same names and details (same file really) as other photos that are linked and do exist. Those will be the duplicate entries and can safely be deleted from the catalog.
    The problem is complicated by the fact she was in the middle of sorting out duplicates and so on (which is how this probably happened), so there could be unlinked files that really do need relinking. But we can't find or fix those because the relinker hits the first one that doesn't exist... and won't go on to look at other unlinked photos till it's checked every local and network drive for the first missing file first.
    Judging by catalog size vs. number of photos on hard disk there are about 2300 photos that have duplicate catalog entries in this way. If anyone can help advise me how to fix this for her, I'd greatly appreciate the help.
    Thanks!
    Three apparent issues in Elements have also made it hard to solve this myself - I'd appreciate any tips:
    The "auto relinker" tries to search every drive it can find out about. The computer it's on has 3 x 2 TB RAID hard drives with all our backups of everything for the entire family for 40 years, some 1.2 million files. So it takes forever. . How can one tell the auto relinker that if it can't find a photo in a given folder or its subfolder (with just 16,000 files!) not to keep looking through all other folders?  Any missing pictures are not going to be in places like "C:\WINDOWS" or "Z:\Old system backups" but it keeps wasting hours trying anyway.
    The "reconnect missing files" dialog (when you click "BROWSE") has a list of files on the left. The columns are not resizeable and the filename column is just 5 characters wide. It's impossible to see the list of files that it's reporting as missing or to scroll down to a given filename in the list.  I get a list of 2000+ entries that all get displayed as "DSC1..." Can this be fixed, or does this make the dialog useless?
    Is there a way to see filenames under the photos in Thumbnail view in Organizer?

    I understand I can delete them and use "suggest stacks" to find similar images. But that doesn't really solve the problem.
    What I need is to identify images where the catalog contains two entries, both with the same filename. Identifying photos with question marks is a huge job as it looks like there are over 2000 images with duplicate entries, and suggesting stacks is also a concern since the suggestions would still need manual checking one by one - the correct catalog entries will contain very similar ones as well.
    What I need is a way to identify that there are 2 catalog entries for a photo named DCS1234, one of which is unlinked (which will be an incorrect catalog entry needing deletion), and the other 2300 or so photos where this happens, then delete these problem entries. Is there a way to automate this?

  • Unable to restore and recover my Database from RMAN Backup

    Dear All,
    Iam practicing RMAN in Windows environment.
    My configurations are
    CONFIGURE RETENTION POLICY TO REDUNDANCY 1; # default
    CONFIGURE BACKUP OPTIMIZATION ON; # default
    CONFIGURE DEFAULT DEVICE TYPE TO DISK; # default
    CONFIGURE CONTROLFILE AUTOBACKUP ON; # default
    CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO 'F:\Backup\%F'; # default
    CONFIGURE DEVICE TYPE DISK PARALLELISM 1 BACKUP TYPE TO BACKUPSET; # default
    CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
    CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
    CONFIGURE MAXSETSIZE TO UNLIMITED; # default
    CONFIGURE ENCRYPTION FOR DATABASE OFF; # default
    CONFIGURE ENCRYPTION ALGORITHM 'AES128'; # default
    CONFIGURE ARCHIVELOG DELETION POLICY TO NONE; # default
    CONFIGURE SNAPSHOT CONTROLFILE NAME TO 'E:\ORACLE\DATABASE\SNCFORCL.ORA';
    CONFIGURE CHANNEL DEVICE TYPE DISK FORMAT 'F:\Backup\%U.bak';
    Then i took the RMAN backup, now iam shutdown my DB and removed one logfile..
    then i tried to startup the DB but it is saying
    ORA-00313: open failed for members of log group 3 of thread 1
    ORA-00312: online log 3 thread 1: 'E:\ORADATA\ORCL\REDO03.LOG'
    So i tried to restore the Database with my rman backup
    RMAN> restore database;
    But i am unable to restore my logfile in the Datafiles location where as all other datafiles are restored but redo logfiles are not restored.
    So, i am unable to recover my DB
    Please tell me whether i am doing any mistake, what is the solution for my problem.
    Thanks in advance
    Mahi

    All you restored was your datafiles.
    Now issue recover database and that will apply the archive logs.
    This is in the oracle documentation.
    "You must restore backups of these archived logs for recovery to proceed. You can restore either to the default or nondefault location. If you do not have backups, then you must performing incomplete recovery up to an SCN before the first missing redo log and open RESETLOGS."
    http://download.oracle.com/docs/cd/B28359_01/backup.111/b28270/osrecvry.htm
    In this case after issuing restore database in RMAN, then issue this.
    "Recover database"
    It will then be an incomplete recovery. They should have been multiplexed. Did you restore your controlfile with this backup? You may have to issue an "Alter database open resetlogs;"

  • Event not triggering

    Ok, so the basic premise is as follows:
    I have a control panel with fifteen or so boolean controls.  All of them operate properly, except one.
    They all trigger the same event, which uses the event source data to determine which boolean triggers and what to do in some case structures.
    All the code operates as it should, except for this one odd control that operates properly the first time it is set to True (default is False).  After toggling this boolean to True, neither it nor any of the other booleans will trigger their events.  They will toggle, the event will take almost a full second to trigger, nothing inside the event structure will occur (the Event Data still appears properly, though), and they will toggle back to the state they were in when the problem boolean went True.
    However, I have my sensors update the screen on the timeout, so I know the events are all occurring, just none of the code is executing.
    Any ideas?
    edit - oops, forgot to attach. 
    Message Edited by JeffOverton on 02-08-2008 02:26 PM
    =============
    XP SP2, LV 8.2
    CLAD
    Attachments:
    attach.zip ‏164 KB

    Pnt wrote:
    You should post a simlified version of your problem.
    Many vis are mising...
    The simplified version is that a boolean triggers an event, and thereafter that specific event won't execute.  The trouble is that all the booleans execute under the same event case.
    MikeS81 wrote:
    Hi Jeff,
    can you upload the missing vi´s?
    Some points for you:
    control references don´t need to be closed
    in the timeout case, you use the control reference of your cluster and at the end you overwrite the value (what do you make there??)
    Mike
    The missing VIs are the proprietary ones
    In the timeout, the first missing VI is me reading my various pressure sensors.  The second missing VI is enabling or disabling various valves based on what pressures exist and what valves are open.  However, they are either enabled or disabled and grayed out, so I know that's the not the source of my problem.  Also, if the booleans were disabled and not grayed out, the event itself wouldn't trigger (which it does, just no code executes).
    =============
    XP SP2, LV 8.2
    CLAD

  • Re importing files to AE problem

    I followed the help instructions to re-import files to an AE project, but I had one problem. Certain files don't appear in my timeline, they are unviewable, and they have a different name and icon next to them. I'll provide a screen shot to show you what I mean.
    Let me also explain the process of how I imported them. There's three things you should know first.
    1. the files are in multiple folders, and those folders are within other folders.
    2. The files I'm importing are .jpg files.
    3. I'm using a mac with After Effects CC
    So what I did first after it told me I was missing 210 files, was double click on the first missing file. It prompted me to choose the file in my finder, just like the help said. I double clicked the first file I wanted to replace. It then said that 48 files were recovered. I thought this was great, and repeated the same process for each of the other folders. Everything worked perfectly, except the initial files I clicked on had become some other file type. I tried to replace them but it didn't work. They no longer appeared in the timeline either. so I managed to replace the vast majority of my files, but about 4 of them don't work. I'm posting a screen shot to show you the icon that appears next to them after I recovered them. I have no idea what these icons mean and I can't work with those images. Any idea how to get my original image back in there?

    That icon says that this is an image sequence---i.e., a set of images that are treated as one footage item (as a movie), not as independent still image footage items.

Maybe you are looking for

  • I have "Explicit" song tags in iTunes, but they (the tags, not the songs) are not showing up on my iPhone.

    Hi, I recently found a way to add the "EXPLICIT" tag to songs in my iTunes Library (using Subler), and just presumed that the tags were not showing up in my iPhone Music because the phone simply did not have the function to display them. However, aft

  • How to achive in this data in oracle using xml tag ?

    hi All , i am using sql 3.1 i have one question that how can i achieve this below XML tag using XML query. this below  whatever i am showing here data is one table . how can i achieve this things using XML tag like xml forest or whatever may be pleas

  • Counting with a button

    Hello, I'm new to labview and i stuck with my program! I want to control a for loop with a button. so i want every time i press the button the loop count is increased by 1. Thnx

  • HELP IN INTEGRATION SCENARIOS

    I have the following situation: I have seven systems. This 7 systems create an text files, that must be load by SAP ECCC. The scenario is the following:                NON-SAP-Systems  -->  XI  --> SAP ECC And I have other scenario when, SAP ECC gene

  • BufferedWriter try catch Scoping problem

    I developed a quick and dirty application to search through a file system for files that contain certain patterns in their names, and it works fine. My problem is I want to use a BufferedWriter to write the results out to a new text file, and a buffe