WAY TO DELETE EXISTING DATA EITHER

Hi all

I still need your support.

I need to check some RECORD written in a table and I need to have even those that do not exist (which are then deleted in the past)

example:

I have run the select statement

Select jobname, script

FROM table1

where (script like '% script1.sh%' or as '% script2.sh%' script or script like '% script3.sh%' or script as '% script4.sh%' or as '% script5.sh%');

JOBNAME SCRIPT

-----------------------------------------------------------------------------------------------

JOB1 script1.sh

JOB2 script2.sh

JOB3 script3.sh

I don't know how to make sure that the result of the query, which is written script4, script5 does not exist.

Basically I want a result like this:

JOBNAME SCRIPT RESULT

-----------------------------------------------------------------------------------------------

JOB1 script1.sh

JOB2 script2.sh

JOB3 script3.sh

JOB4                              Script4.sh NOT EXIST

JOB4                              script5.sh NOT EXIST


Thank you for your help

change to:

WITH script_needed as (select 'AMM_ES_UNX_ORA_DEAM1E_HOT' CMDLINE FROM dual

...

as you obviously don't have 11.2

HTH

Tags: Database

Similar Questions

  • Good way to delete a data store

    I'm not sure this is the right forumr for my question. If not, can someone please point me to the right one?

    I need to remove two LUNS on a storage (HP LeftHand).

    The lun host 2 warehouses of data used by a 5.5 vSphere cluster composed of 3 5.5 U2 ESXi servers.

    I have to perform the activity during execution of virtual machines and I can not create any problem or performance for VMS running problem.

    So I need to create a checklist as accurate and complete as possible...

    Here's my Checklist:

    • I removed all the VMS since data warehouses
    • I deleted all the files from data warehouses
    • I removed data warehouses from the list of data used by pulsation HA stores
    • I checked that the sacratchconfig. ConfiguredScratchLocation for each node indicates a different datadtore of those that I am giung to remove

    Can I safely remove the files inside the folder .vSphere-HA?
    Should what else you check before removing the data store?

    Is there anything else I should consider?

    Concerning

    Marius

    For well detach and remove datatores take a look at http://kb.vmware.com/kb/2004605.

    In fact, there is nothing which will cause problems. If you try to take it apart (or delete) a data store it will work either (if anything accesses the database), or you receive an error/warning message. Once a datatore is disassembled or deleted, you must detach the LUNS for each host, and - after unpresenting a LUN of Lefthand CMC and run a new analysis on the hosts - you can do the cleaning (esxcli storage core detached unit remove d NAA_ID) on the hosts.

    André

  • Way to delete a data file

    Version: 11.2.0.2
    Platform: AIX 6.1

    My first post on this has been moved by someone from the community of ASM. I deleted this post and I post it here.

    Our tablespace application ran out of space, and we had no free space left in our system of data files. We had little space left in the file system for archiving logs. Because it was urgent, I added a file of 10 GB data to this tablespace BUT in the files system to archive logs. The next day, administrators added system space to our system of data files. Now, we have enough space in the data files system and we want to move the data file mentioned above for the file system to store the data files.

    The data file resides in the archive disk group
    /ltmprod_arch/LTMPROD/cmdata07.dbf
    I want to delete the data above and add it in the file system for the data: /ltmprod_data
    /ltmprod_data/LTMPROD/cmdata07.dbf
    What is the cleanest way to do this?

    Published by: Kavanagh on March 27, 2012 08:08
    Removed the word disk group

    This can be done without a DB downtime. But the tablespace must be taken offline

    Step1. Take the tablespace offline
    ALTER TABLESPACE yourtbs OFFLINE ;
    
    Step2. Take a bkp of the datafile and move to the new location
    mv /ltmprod_arch/LTMPROD/cmdata07.dbf /ltmprod_data/LTMPROD/
    
    step3.
    ALTER TABLESPACE yourtbs RENAME DATAFILE '/ltmprod_arch/LTMPROD/cmdata07.dbf' to '/ltmprod_data/LTMPROD/cmdata07.dbf';
    
    Step4. Bring the tablespace online
    ALTER TABLESPACE yourtbs ONLINE ;
    
  • What is the best way to delete personal data so that I can sell a laptop?

    I have a laptop of 2 year, that would be perfect for daily use.  I want to delete my personal data and sell it.  I know there are tools that formateront the whole disc.  However, I have to reinstall the OS and I'm not sure of the easiest way to do it.  The laptop is pre-configured with Windows and I have no disks in the system.  Is there something that will remove my personal data safely and leave intact BONES?

    Hello

    I would ask you to check out the link and follow the suggestions in the article:

    Protect and serve your personal files

    http://www.Microsoft.com/athome/organization/personalfiles.aspx#fBid=WzoMtBLtPbX

    WARNING: Using third-party software, including hardware drivers can cause serious problems that may prevent your computer from starting properly. Microsoft cannot guarantee that problems resulting from the use of third-party software can be solved. Software using third party is at your own risk.

    Thank you.

  • How do MANUALLY enter you data into the application of health 10 IOS? There is no symbol and touch edit only gives you the option to delete existing data.

    I checked in the application of the health and read the Apple support page. They show the screen for 10 IOS on an iPhone, but their instructions don't work. There is not a Plus symbol to add data manually. It has only an editing tool that you can touch and only allows you to delete data.

    Hi, rmetzker!

    To manually enter the data points in the application of health, first go to the display of data on health as shown below.

    Then select category to which you want to enter data in (I'll use body measurements for example), then press on what data you enter (measurements > weight). In the upper right corner, it will be a plus + icon for you to manually enter your own data points.

    I hope this helps!

  • My recovey limit is full is there a way to delete parts of which allows new recovery dates?

    My recovery limit has been reached. Is there a way to delete the old information to make room for the most recent date of recovery?

    Hi SharonHarlow,

    1 collection are. what ceiling you referring?
    2. What is the exact error message you get?

    If you are referring to the deletion of restore points, then I suggest you to try the steps from the following link:

    Delete a restore point
    http://Windows.Microsoft.com/en-us/Windows-Vista/delete-a-restore-point

  • Any way to force the execution of the workflow on existing data?

    I wrote a workflow rule to update the field back to match the sum of a few custom customer field. When the record is updated or a new record is created income is updated with the desired value. However, I have a few thousands opportunities that already exist. Is there a way to force the workflow to run on any existing data? If not, is the only option for export and re - import all data used?

    Using the mass update is another choice, but to 50 cases per race that is rather painful. The route of export/import is much less clicks. Just empty the opportunity name and filed a trivial you don't use. Change the trivial field in Excel. Recharge with update.

    The f

  • Deleting your iCloud account deletes the data?

    I don't ask if the data can be retrieved by the user, just that Apple still keep or not?

    I'm in Australia and we have mandatory data retention laws so they may be required by law.

    Thank you.

    I'm not aware of any way to delete an account iCloud. You can remove an account from a device and you can delete the data in an account, but in both cases, the account itself still exists.

  • Deletion of data of Vista Enterprise for recycling.

    I want to recycle my old Dell desktop. It is equipped with Vista business and I want to delete my data. I clicked f8, but unlike ordinary Vista, it didn't have a link to repair the computer. I don't have a disc.

    Hello

    If someone is really committed, they can recover your data.

    The only way to know that your data is completely safe is to physically destroy the hard drive.

    It is the opinion of Dell to reinstall and using F8.

    http://www.Dell.com/support/article/au/en/aubsdt1/DSN_28C0548D825EB65DE040A68F5B2865A8/en

    @@@@@@@@@@@@@@@@@@@@@

    You can borrow and use a DVD Vista Microsoft (selling retail or OEM System Builders License), which contains the files for the different editions of Vista (Home Basic, Home Premium, Business and Ultimate) must be installed. The product key on your computer / Laptop box determines what Edition is installed.

    The COA sticker is either or in the battery compartment on the underside of the laptop.

    With a desktop computer, it's on the side, the back or the top of the computer case.

    Other manufacturers recovery DVDs are should not be used for this purpose.

    And you need to know the version of 'bit' for Vista, as well as 32-bit and 64-bit editions different DVD lights.

    Here's how to do a clean install of Vista using a DVD of Vista from Microsoft:

    "How to do a clean install and configure with a full Version of Vista '

    http://www.Vistax64.com/tutorials/117366-clean-install-full-version-Vista.html

    And once the operating system is installed, go to your computer manufacturer's website and get the latest drivers for your particular model or laptop computer.

    And phone Activation may be necessary when you use the above installation method.

    "How to activate Vista normally and by Activation of the phone '

    http://www.Vistax64.com/tutorials/84488-activate-Vista-phone.html

    @@@@@@@@@@@@@@@@@@@@@@@@@@

    Or use DBAN to annihilate everything:

    http://www.DBAN.org/

    See you soon.

  • Replace Option - deletion of data in other versions by loading data

    Hello

    While loading data using FDM, we use the option "replace". As expected, the existing data in the period in question, and all accounts are deleted before the new data file is loaded.

    We also observed that the data in another version is deleted due to this option. What is a standard behavior? If not, kindly tell me a way to prevent the deletion of data in other versions.

    Kind regards

    Amjad

    What is "replaced" in Essbase is determined by the cleardata control in the action of the LOAD of the Essbase adapter. Fixed default cleardata control on the scenario and the entities that are part of the load and will erase data for the period/periods being loaded, if you want a more targeted replace, update the cleardata statement in the script to load.

  • When I delete my safari history it also deletes the data in my Web site

    When I delete my safari history, it also deletes my data website!  How can I keep it to remove my data Web site too!

    < re-titled by host >

    Unfortunately, it's the way it is currently set to work. All I know is no way to fix it.

  • access code will work no - has rejected the correct password, deleted the data

    Hi people

    Had a problem with the iPhone OS 9.3.1 (6 s)

    The password was rejected, even if she did the same every time: it worked randomly.  This question has followed a request to change the password to another.  I put in an alphanumeric password with a special character, as he refused to let me use the previous password.

    I tried to change the password but failed at each point and wouldn't let me delete the iPhone either.  He decided to spontaneously clear the data while it was in my pocket.

    I restored the iPhone and will monitor.

    I was wondering if anyone else has had this problem and it could be a virus or something.  Could it be spyware? Or simply corrupted software?

    Your thoughts appreciated

    Unless your phone has been jailbroken (and I doubt it was) it wouldn't get a virus.

    It's a working phone? Is there an exchange account or an email from work?

    The request came via a pop-up of Safari?

    If the request came from Safari, I would follow the steps below. If it's a working phone that I would like to talk to your people in TI.

    Close Safari completely from the window of the selector app by double clicking the Home button and slide up the preview pane of Safari until it disappears from the display. You may need to search the Safari part covering scribbles to the left. Then go to settings > Safari > clear the history and data from the Web site. Then perform a forced reboot. Hold down the Home and Sleep/Wake buttons simultaneously for about 15-20 seconds, until the Apple logo appears.

  • I lost my key synchronization when my hard drive was erased, so, how can I get a new key for synchronization without deleting my data backed up?

    I have synced my firefox bookmarks so that I could the reupload if ever my computer wiped, so I don't have a second device with the touch of synchronization on this subject. I made the mistake of recording only the sync on the computer key. I just got my computer back to the shop and they erased my operating system without asking. Now, I don't have my sync key and the only way to access my account synchronization requires that I have change the timing key and delete all data saved on the server. How can I access my data?

    Sorry, without your key to synchronize your data worth anything, it is impossible to - encrypted, and create a new synchronization key he will wipe away from the sync server.

    BTW, the Firefox sync service is not intended for "backups", it is supposed to synchronize your Firefox data between different "devices." Any chance you have more than one device with this sync account configuration? If so, you can use the sync this device key.

  • How to add new data and delete old data from a custom text file?

    Hi guys!

    Well, I'm in a bit of trouble.

    I need to make a request to some GPS tools. Split data in indicators, generate coordinates (google maps format), and so it goes.

    One of the functions of the systems is the calculation of oscillation of coordinates. The formula should be: latitude 1 - latitude 2 = latitude AND longitude 1 - 2 = swing longitude longitude oscillation.

    Since I'm on two values, I thought: "Oh, if I connect these data in a file, I just pick up and do all the calculations part." Yes, this idea is adapted to my needs (even if it is not the best, the computer part solved my problem).

    BUT I don't see a way to write the current value of the loop and erase the old results.

    For example, suppose that loop 1 gave me 1.00000, 2,00000 coordinates and loop 2 gave me the coordinates 3.00000 and 4.00000. Right?

    My log file is similar to: 1.00000,2.00000; 3.00000,4.00000;

    Well, it works. However, we will look forward to loop 3: coordinates 5.00000,6.00000.

    If the program connects to it, I would get the chain: 1.00000,2.00000; 5.00000,6.00000; When I really need 3.00000,4.00000; 5.00000,6.00000;.

    For this reason, when I apply the calculation of oscillation, it will always take the most recent value and do all the calculations with the first result (from loop 1).

    Well, I wonder that there is a way to add new data to a file and replace the old values, with simple code. If anyone knows how, please respond here!

    Considerations:

    (1) I want to do it as simple as possible. My code is kind of great, and it is not appropriate to insert structures or library now.

    (2) maybe the explanation is not as simple as it is for me. Really, I couldn't find a better way to say what I need.

    (3) if someone has doubts as to my doubts, please just comment and I'll try to be as specific as possible.

    Thanks in advance!

    I guess my question is why write a file just to delete.

    If you pass an array of points from one iteration to another, you will have to take extra time to open the file, read the file, delete the old data, writing the new data, save the file, and then close the file.  It would be pretty much the same thing, but without having to go through the hard drive.

    Just a thought.

  • Is there a simple and quick way of deleting these temporary files?

    To clear my comp. congestion and help speed up my PC, my ISP told me to put temp5 Prefetch and % and Temp in start-run to delete the temporary files. It's a bit long-winded that each group must be deleted separately. Disk Clean up does not get rid of them. Is there a simple and quick way of deleting these temporary files? Thanks Brian

    To clear my comp. congestion and help speed up my PC, my ISP told me to put temp5 Prefetch and % and Temp in start-run to delete the temporary files. It's a bit long-winded that each group must be deleted separately. Disk Clean up does not get rid of them. Is there a simple and quick way of deleting these temporary files? Thanks Brian

    Delete the contents of the prefetch folder will not help speed things up.  In fact, it will probably slow things down.  See http://answers.microsoft.com/en-us/windows/forum/windows_vista-system/can-i-delete-the-data-in-the-prefetch-folder/c54a8e56-c8cf-451d-a88f-07f06a2f2d54
    I guess temp5% is a typo and you really wanted to say %Temp%.  Percent signs indicate that it is an "environment variable" with the usual value of C:\Documents and Settings\, yourusername\Local Settings\Temp

    The directory specified by %Temp% is, in fact, the directory cleaned by the cleaning of record under the name "temporary files".  Why do you think that disk cleanup is not delete files?  Note that disk cleanup does not remove the files in this directory which came in the last 7 days (this period may be changed by changing a registry value).

    What disk cleanup does NOT, however, is to clean temporary files, files for the Internet browser cache and other files in places of profile-specific to the user of different profiles that you are currently using.  Disk Cleanup also does not delete the contents of C:\Windows\Temp (although it doesn't fill up with very much).  C:\Windows\Temp is the directory that appears when you type Temp in start > run (without the percent sign).  And, of course, disk cleanup will not empty the cache of the browser by non-Microsoft browsers, e.g. Firefox.

    There are third-party applications that make a "deep" cleaning  Some of them clean files of all users without having to login to each profile separately.  Most understand the characteristics that you should not use.

    Here are 2 - there are others, but I haven't used.

    ATF-Cleaner  (do not delete prefetch)
    CCleaner (do not use the registry tool)

    You might be interested in "How to automate the disk cleanup tool in Windows XP"

Maybe you are looking for