More efficient one. Select Db and then delete OR using DELETE stmt on DB

Hi Gurus,
Which is more efficient one.
1. Select from Database on some condition.
     Then use delete statement on smae DB
2. Delete from DB on some condition.

The efficient method is
SELECTING REQUIRED FIELDS AND THEN SORT THE TABLE AND PERFORM DELETE OPERATION LIKE
1)  SELECT (REQFIELDS)
       FROM spfli
       INTO TABLE itab
       WHERE carrid = 'LH'.     
2)   SORT itab BY cityto.
   3)  DELETE ADJACENT DUPLICATES  FROM itab COMPARING cityto.
It has reasonable amount of completing the transaction

Similar Messages

  • Have a question I do not use mail in my computer I use yahoo and I have all these emails and selected all and then delete then delete trash and they always come back how do I stop these old email in apple mail? I never send anything from there but I have

    have a question I do not use mail in my computer I use yahoo and I have all these emails and selected all and then delete then delete trash and they always come back how do I stop these old email in apple mail? I never send anything from there but I have the same email in yahoo but delete them and they still show up in apple mail from day one how do I get rid of these once and for all.Please help
    <Edited by Host>

    I am soooooooooooo confused now.  Ok, if you are having problems with Yahoo Mail and Gmail but you do not use Apple's Mail you need to do the following:
    1 - Post in Yahoo's Mail forums and/or contact their tech support.
    2 - Post in Gmails forums and/or contact their tech support.
    Neither of the above are Apple's products.

  • How do I copy and paste an image form the internet to Keynote. I have done this successfully in the past by selecting copy and then paste by using the right click function and now am unable to do so. I am thinking it is an outdate OS problem...not sure.

    How do I copy and paste an image from the internet to Keynote. I have done so successfully in the paste by using the copy and paste right click functions but am unable to do so now. That was about a year ago that I attempted that I was able to do this. Thank you for your help.

    Some images are copy-protected.
    If all else fails, you can make a screen shot of the image: 
    With the image visible in your browser, press CMD-Shift-4 and your cursor will change to crosshairs.
    Position the cross hairs at one of the corners of what you want to copy and drag to the opposite corner, then release the mouse. An copy of the image will be saved to your desktop.
    You can now edit and use this image.
    Be sure to respect copyrights.
    Message was edited by: bwfromspring hill

  • Is there a way to select all emails at once on the iPad and then delete them at one time?

    Is there a way to select all emails at once on the iPad and then delete them at one time?

    Tap on the edit button at  the top right of the email list. This will let you select the emails to delete, once all are selected, tap on the bottom right button that says delete to delete them all at once.

  • HT201302 I need more space on my iPhone to update to iOS 7.0.6. I was able to import and then delete my Camera Roll but not my Photo Library. How do I do that?

    I need more space on my iPhone to update to iOS 7.0.6. I was able to import and then delete my Camera Roll but not my Photo Library. How do I do that?

    To delete your photo library you need to connect to iTunes, then remove the selection for the images, then sync the device.
    While you are connected to iTunes do the update through iTunes. It takes much less memory as the update is loaded onto your computer, unpacked, then sent to the device.

  • Just upgraded to iOS5 on ipad2 and now have all my old emails to delete. Is there a way to select all like in trash and then delete all?

    just upgraded to iOS5 on ipad2 and now have all my old emails to delete. Is there a way to select all like in trash and then delete all?

    Thanks for the feedback, the question is that it will syn all the folders that I have checked, and its total up to 6000 photos which was taking me one whole day to syn. I am seeking is there away that what have already in my Iphone will not be delected if I did not checked on the next syn, and only add in the new album that was checked.

  • How do i move my itunes library from one acc't to another and then delete itunes on the old acc't?

    I would like to set up a media acc't for my family of four to listen to our music library and view all of our photo's.  Then I would like to delete Itunes from my personal acc't.  I have been able to establish a media acc't for all family member's and opened Itunes (i can see all of my purchased songs, but not the ones i have downloaded from personal CD's) to use however, i need assistance in moving over all my music and then deleted the old Itunes from my personal acc't.  Can anyone assist me?
    Thanks.

    Locate the song files in the Finder, drag them to a location in the /Users/Shared/ folder, load the shared iTunes library, drag them into the open iTunes application window, and delete the old iTunes library. If desired, you can move the old iTunes library to the Shared folder instead of individually moving the music files.
    (81922)

  • Is there any way to set red to green and then delete all that in one time?

    Hi,experts
    In our delta data load requests include lots of red status record, in the usual way , we must fix the red status to green  and  delete it one by one.
    Is there any good way to set  status red to green and then delete all that in one time instead of one by one?

    hello,
    yes there is ways to delete the requests in one time.
    1)  Note the bad request number
    2)  Go to SE16
    3) Open table RSODSACTREQ. Filter the contents by that request number . There will be entries for that request . Delete that entries.
    OR
    4. Open table RSICCONT. There will be one entry for that request . Delete that entry
    OR
    5. Open Table RSMONICDP. Filter the contents by that request number . There will be 3-4 entries for that request depending on number of data packages in that request .Delete all those entries
    Hope this helps
    Kumkum

  • I should know, but I don't. If I upload all of my photos to iCloud and then delete them off of my iPhone (for more storage space), will they all remain in iCloud or am I missing the point of iCloud?

    I should know, but I don't. If I upload all of my photos to iCloud and then delete them off of my iPhone (for more storage space), will they all remain in iCloud or am I missing the point of iCloud?

    Right now, there is no way to upload and access photos in iCloud. You need to import them to a computer if you want to be able to retrieve them later:
    PHOTO IMPORT IOS TO MAC/PC
    Cheers,
    GB

  • HT1918 I have 2 iTunes accounts. How do I transfer the balance to the new account and then delete the old one?

    I have 2 iTunes accounts. How do I transfer my balance from the old account to the new account and then delete the old account?

    i dont think that is possible, but then again, anything is possible. probably gonna have the best luck by contacting itunes / http://www.apple.com/support/contact/

  • Can I save my photos from my iPhone to iCloud/iTunes, and then delete them from my iPhone to  free up space on my iPhone?I would  still like to keep them somewhere where they can  be accessed.

    Can I save my photos from my iPhone to iCloud/iTunes, and then delete them from my iPhone to  free up space on my iPhone?I would  still like to keep them somewhere where they can  be accessed.

    One option is to turn on iCloud Photo Library on the phone and go to Settings > iCloud > Photos and turn on "Optimize iPhone Storage." Then you don't delete the photo from the phone but it does occupy significantly less space. More information in iCloud Photo Library FAQ - Apple Support

  • Sync ALL photos on the iPhone with the computer and then delete

    I have over 3000 photos on my iPhone that I want to sync with/copy to my computer and then delete off of my phone to make more storage available.  I have attempted to open iTunes and sync but it only completed the most recent 150 that I have taken.    Any recommendations?  I have a PC. Thanks so much!

    Thank  you for the quick reply. I already attempted this.   the only pictures and videos that it prompts me to import/upload are the new ones, which was approximately 150.  The remainder are not being read or being asked to import.  that's the issue.

  • I want to use my Time Capsule as a central 'hub/hard-drive' in order to keep all my working files in one place. I then plan to use my laptops/desktops as peripheral devices for editing and creation of these files. Is it possible? Create a personal cloud?

    I want to use my Time Capsule as a central 'hub/hard-drive' in order to keep all my working files in one place. I then plan to use my laptops/desktops as peripheral devices for editing and creation of these files. Is it possible? To create a personal cloud?
    Can someone advise as to whether i can do the following:
                                Future Internet connection -------------------TIME CAPSULE (containing all files) -------------- Backed up on the WD 2T Hard-drive I have
                                      (not connected yet)                                         I                                                          (*connected to timecapsule physically)
                                                                                                            I
                    I                                         I                                                I                                                              I                                                I
          Macbook Pro                             iMac                                       HP (PC)                                             OLD Macbook Pro                         iPhone
    (used for remote working)       (Used for home working)     (used for heavy CAD and rendering)    (not being used for anything at the moment)        (& iPods)
    I am looking to have all my files in one place as i am hopelessly disorganised. I know the online clouds are a good solution (used Dropbox at work and uni for 3 years) however i am wanting to create my own 'dropbox/icloud' at home. So whenever i get back home with my laptop, any work i have been working on whilst out that day is updated to the timecapsule, and then ultimately as i turn on the other devices, they update to those newer versions of the files. Please tell me that the 3TB time capsule i have can do this, otherwise it feels rather overpriced as a wireless storage device?
    Another note (to those in the know) If i am to be working on large files (REVIT/SOLIDWORKS/KEYSHOT/CREO/AUTOCAD) - is the timecapsule connection good enough to support editing and updating these files?
    I know i may be asking a question that many have before, but as a bit of a technical novice I wanted a clear-cut answer to my specific circumstances. Your help is greatly appreciated.
    (*can i use this WD hard-drive that is connected to the Time Capsule as a back up? so that the time machine back-ups/any back ups are also backed up onto this one? can the WD be a backup for the TC?)
    Kind Regards
    Joe

    The diagram was supposed to look more like this......
    Internet ---------TIME CAPSULE(containing all files) --------WD 2T Harddrive
                                                I
         I                           I                          I                            I                                   I
    Macbook Pro         iMac                 HP (PC)            OLD Macbook Pro           iPhone
    Sorry!
    Regards
    Joe

  • I downloaded IOS6 and all my apps, including the App Store icon, disappeared. If I go to the Passport icon, there is an App Store button, but I have to search through all the apps to find the one I want  and then click on "Open" to use it.  Help!

    I downloaded IOS6 and all of my app icons, including the App Store icon disappeared. Now to use an icon, I have to go to Passport and click on the App Store button at the bottom and search through all of the apps to find the one I want and then click on Open. There doesn't seem to be a way to delete the app and start over.

    Hey PlayerPS,
    Thanks for the question, and welcome to Apple Support Communities.
    It sounds like the application you are looking for is indeed still on your iPhone. You can confirm this by searching in the Spotlight Search for this application. It may have accidentally been moved to a folder, or an additional Home screen:
    iOS: Understanding Spotlight Search
    http://support.apple.com/kb/HT3636
    via http://manuals.info.apple.com/en_US/iphone_user_guide.pdf
    Thanks,
    Matt M.

  • How do I find a previous windows version. It's telling me to copy files and then delete old version.

    When I got on my laptop today, I saw that there was a message from HP Support Assistant. It says that I have an older versions of windows and that the previous versions of windows was saved in a folder c:\windows.old. it says that the folder is very large and it recommends me coping any old files I want to keep and then delete the Windows.old to free up more disk space. It has a help column that says, "How do I backup my files from Window.old? When I do what it tells me to do, I can't find it. Could someone please help me? Thanks you.
    Product Name: HP Pavilion g7 Notebook PC
    Product Number: B5R84UA#ABA
    O/Sis Microsoft Windows 7 Home Premium (64-Bit) SP 1
    Systems BIOSis F.14

    Hi,
    Looks like a new OS has been installed/re-installed. Do you want to keep Windows.old folder for just in case? Otherwise you can delete it using the following instructions:
       http://windows.microsoft.com/is-IS/windows7/How-do​-I-remove-the-Windows-old-folder
    Regards.
    BH
    **Click the KUDOS thumb up on the left to say 'Thanks'**
    Make it easier for other people to find solutions by marking a Reply 'Accept as Solution' if it solves your problem.

Maybe you are looking for

  • How do you play mine craft on a mac with 2 screens fullscreen

        how do you play mine craft on a mac with 2 screens fullscreen   i play mine craft and i have a mac pro with 2 screens and i want to know how to play mine craft with both screens

  • Quantity Round off During goods Issue??

    Hi Experts, I have a scenario where I want to allow goods issue (261 OR 311) exactly into the multiple of some value say 25 because my bag size is 25 kg, Basic unit of measure of material is kg. Please suggest the settings to achieve this. Thanks in

  • Collection strategy: one customer in multiple company codes

    Hi, we look into CM at the moment and have the following requirement: There is one customer who has business with different companies (company codes). the collection for these kind of customer should be based on the customer across all companies and

  • Activating Object Services

    Hi, I am trying to activate General Object Services for viewing/creating attachments for FI Invoice ( FBV0 transaction ). I tried assigning the following roles for the user: SAP_BC_BMT_WFM_ADMIN SAP_BC_SRV_ARL_ADMIN SAP_BC_SRV_ARL_USER SAP_BC_SRV_USE

  • Include a CSS file problem

    I having a problem in including a css file in my jsp pages. the tag is written as follows <link rel="StyleSheet" type="text/css" href="ressources/stylesheet.css" media="screen"> I did change the directory ressource, the path and tried to play each an