Delete entries that are not in select option

hi
  My select query is getting a values that were not in one of my select option. what is the statement to delete those entries from the internal table that were not in select option

Hi,
Please check the where conditon correctly.
You may not be considering the all select option fileds in where condition.
Check.
or Use ..
Delete from Itab where <field> not in <S_field>.
Regards,
Anji
Message was edited by:
        Anji Reddy Vangala

Similar Messages

  • Iphone 5 show duplicat calandar entries that are not on other deveices?

    So i have this weird issue with my iPhone 5. Calandar entries that are made seem to duplicate. Not on all my devices. Just the iphone. The duplicat copy cannot be edited and shows it is from whichever calander color and (apple id) that posted it i guess. I don't see the same issue on my ipad, imac, icloud, or my wifes ipad, and iphone (they are all sharing the same calandar with differentiating colors for various for our appointments. Mine blue wifes purple etc.)
    anyone else experience this and know how to resolve it?

    I think i may have figured it out.  I ended up disableing the icloud calandar sync. connected it to my mac un disabled its syncing, making sure to delete and not keep the calandar entries on the phone, then went back and turned icloud calandar sync back on and now i have all the propor entries with no uneditable duplicates or duplicates of any kind for that matter. Guess it some how was still syncing with both my mac and icloud some how. Though it didn't show me an option to disable either on my mac's itunes. Anyway, hope this post helps someone else who ends up in the same predicament.

  • Best approach to delete records that are not in the source table anymore.

    I have a situation where I need to remove records from dimensions that are not in the source data anymore. Right now we are not maintaing history, i.e. not using SCD but planning for the next release. If we did that it would be easy to figure the latest records. The load is nightly and records are updated and new added.
    The approach that I am considering is to join the dimension tables the the sources on keys and delete what doesn't join. However, is there perhaps some function in OWB that would allow to do this automatically on import so it can be also in place for the future?
    Thanks!

    Bear in mind that deleting dimension records becomes problematic if you have facts attached to them. Just because this record is no longer in the active set doesn't mean that it wasn't used historically, and so have foreign key constraints on it in your database. IF this is the case, a short-term solution would be to add an expiry_date field to the dimension and update the load to set this value when the record disappears rather than to delete it.
    And to do that, use the target dimension as a source table, outer join it to the actual source table on the natural key, and so your update will set expiry_date=nvl(expiry_date,sysdate) to set to sysdate if this record has not already been expired on all records where the outer join fails.
    Further consideration: what do you do if the record is re-inserted into the source table? create a new dimension key? Or remove the expiry date?
    But I will say that I am not a fan of deleting records in most circumstances. What do you do if you discover a calculation error and need to fix that and republish historical cubes? Without the historical data, you lose the ability to do things like that.

  • How to use range for a field that is not in select options

    Dear All,
    I have a requirement to show Long Text of a G/L account , where G/L account is between a given range. But this field is not in select options. I have to show Long Text of this Account, if the field is in a given range. I have tried to use RANGE , but RANGE is not working here. Please help with some sample codes.
    Note: The range is too high so I cant use IN operator.
    Thanks ,
    Rosaline.

    Hi,
       Declare a range as :
    ranges : r_hkont for bseg-hkont.
    fill in the values
    r_hkont-sign = 'I'.
    r_hkont-option = 'BT'.
    r_hkont-low = '26000000'.
    r_hkont--high = '2999999'.
    append r_hkont.
    Select sgtxt from bseg into text
    where bseg-hkont in r_hkont.
    Regards,
    Srini.

  • I am working in my itunes and removing duplicates. When I go to delete a series of items then I press the shift button highlight and delete; when I want to delete several that are not in a series I go to use my "fn" button, it wont work

    I am working in my iTunes removing duplicates. When I want to remove a series of duplicates I hit the shift button on the key board, highlight and delete; when I want to select several to delete but are no in a series in the past I would hit the 'fn' button then highlight and delete. That button does not seem to be working at all. Any insight would be appreciated. Thx

    Command-click does the trick.

  • I recently received an I Pod touch 4th generation. I synced it to my computer and now all my pictures that I have ever taken are now on my Ipod. How do I delete pictures that are not taken by the Ipod but were synced onto the ipod?

    I recently received an Ipod Touch 4th generation. I synced it to my computer and now all the pictures that I have ever taken are on my I pod. How do I delete pictures that have been synced from my computer?

    Hi megan21,
    Connect your iPod to iTunes, click on your device, and then click on the "Photos" page. If you don't want any photos on your iPod, make sure the "Sync photos from [photo application]" checkbox is unchecked. Or, you could select specific photos in that page to sync to your iPod.
    Hope this helps,
    O.C.

  • How do I delete pictures that are not on "camera Roll" that I transferd from my computer?

    I have tried everything..I have pictures on my phone that I transfered from my computer...they are old vaca pics and I want to delete them..They are not on the "camera roll"..I have tapped on edit, delete, ect everything and they won't delete..Please I hope someone can help me..
    Thanks

    Delete them on your computer then sync your iPhone.
    Or make sure when syncing your iPhone you remove them from the sync instructions.
    You cannot delete them directly from the IPhone.

  • How do I find out and delete VIs that are NOT CALLED? I want to clean up my project.

    Over the last few years, many VI's have accumulated that are no longer called from anywhere within my project. The project is a main GUI plus two other VIs launched by VI server plus many hundreds of VIs. I am not using source control. Any easy way to do this?

    Andrew_Scott_SPCi.ca wrote:
    Over the last few years, many VI's have accumulated that are no longer called from anywhere within my project. The project is a main GUI plus two other VIs launched by VI server plus many hundreds of VIs. I am not using source control. Any easy way to do this?
    First BACK UP!
    Yes create a Tree VI (a VI that contains the top-level VIs unsed in the app this includes the dynamcis).
    Then crate source Distribution (in the project it is where you create buold-specs) and configure the Source Distribtion to presevere the hiarchy.
    When you buld the Source Distribution it will pick-up every thing used by the tree and relink everythin in the new place with all of the dead code missing.
    You may have to repeat the process after testing since there is always another dynamic VI somewher that gets missed.
    After you are satified THEN delte to old stuff, DONE!
    Ben
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction

  • Deleting photos that are not in the Camera Roll.

    I just got a new ipod touch and I put photos from my PC onto my ipod and now I want to delete these photos but they are not in my camera roll and there is no delete button available. Please help me delete them!

    You delete them the same way you put them there.  The sync process.
    Deselect them in itunes and sync.

  • Help! how do I delete contacts that are not on my contact list? when I start a new message you can still get the number when you tap in the name?

    how do I delete contacts? help! contacts are deleted off my
    contacts. but when I go to messages and press in the name the contact
    still appears under other..... can I delete these?

    That is saved in cache memory on the phone and that memory is about 2MB in size and is eventually overwritten with use.  The only sure way to get rid of it is to restore as new and not from a backup and you will lose data.  I suggest you just ignore

  • Deleting applications that are not in the application folder

    I recently downloaded an app called Liteswitch. I didn't want it so I ctrl clicked on its icon in the System Preferences and removed the Liteswitch prefpane. But the app is still installed and working - how do I get rid of it?
    Thanks

    It's not only the Liteswitch app. It's more in general. I can't figure out if the apps are deleted when you ctrl click on their icon in the system prefs and remove it. The app still works after you have done this so it seems that it doesn't delete it. However after logging out the app doesn't work after logging back in, so maybe OSX waits to delete the app till you log out?

  • TS1702 deleting apps that are not updated

    deleting apps. clash of clans, won't update properly and I want to delete it off app store

    the basci funcationality of the application is very similar toits website.
    That is the problem. Add additional functionality so the app does more than the web site. Otherwise what is the point of the app?

  • How do you delete songs on iTune that are NOT on the library?

    I got a new computer few days ago, and I downloaded iTune on my new computer today.
    I want to delete all my songs that are in my iPod Touch now, and want to buy other songs.
    I don't have any songs in my library at the moment, since there's no song in my new computer now.
    So I want to delete songs, but since I don't have any of those songs in the library, I can't delete them. (I can't delete them since they are not on the library.)
    Are there any ways I can delete songs that are NOT on the library?

    You don't want to keep the songs that are on your iPod touch, in your library?
    You can keep them in your library and not put them on the touch.
    Then you can purchase other songs and put those on the touch.

  • How can I download my past purchases that are not in my icloud?  Somehow I lost songs that I purchased they say that the orginal files are gone but I did not delete them

    How can I download past purchases that are not in my icloud?  Somehow I lost songs it says that the orginal files can not be located.  They are still available in the store but it doesn't give me the option to download them.  I did not delete any songs or files but I am missing a lot of files

    The "missing file" error happens if the file is no longer where iTunes expects to find it. Possible causes are that you or some third party tool has moved, renamed or deleted the file, or that the drive it lives on has had a change of drive letter. It is also possible that iTunes has changed from expecting the files to be in the pre-iTunes 9 layout to post-iTunes 9 layout, or vice-versa, and so is looking in slightly the wrong place.
    Select a track with an exclamation mark, use Ctrl-I to get info, then cancel when asked to try to locate the track. Look on the summary tab for the location that iTunes thinks the file should be. Now take a look around your hard drive(s). Hopefully you can locate the track in question. If a section of your library has simply been moved, or a drive letter has changed, it should be possible to reverse the actions.
    If another application like Windows Media Player has moved/renamed the files then the chances are that subtle differences in naming strategies will make it hard to restore the media to the precise path that iTunes is expecting. In such cases, as long as the missing files can be found somewhere, you should be able to use my FindTracks script to reconnect them to iTunes. See this post for an explanation of how it works.
    If you have to resort to trying to pull back the library from your iPod see Recover your iTunes library from your iPod or iOS device.
    Note also that if iTunes has an entry for a song, even if that entry is broken, then it won't offer that track for download since it "thinks" you already have it. If you can't find the original files or recover them from a device, then you may need to delete the broken entries, close iTunes and reopen before you can access the past purchases.
    tt2

  • Deleting photos in the Library that are not in an Album

    As the subject states, is there a way to delete all and any photos from the library that are not in an album. I now understand how to properly delete photos, but before I would drag the photos from a new roll into an album and then delete the ones I did not want from the album and they would stay in the library. It is too difficult and numerous to go back and try and figure out which photos are in albums and which are not. Thank you for your help in advance.

    rhassoii
    Welcome to the Apple Discussions.
    Well, to find them, make a smart album (File -> New Smart Album)
    Album -> Is Not -> Any
    That will gather them together. The select them and go option (or alt) - delete.
    This will move them to the iPhoto trash.
    Empty the trash.
    Regards
    TD

Maybe you are looking for