delete only certain set of lines

Hello

I would like to delete acertain all lines of my tableA that has these 2 values as

Industry-> APAC
Region-> all THE


remove from TABLEA
where there are
(select the industry, region)
from TABLEA
where substr (tableb_fk, 1, 2) = "AB".
and the value is null
Industry group, region);

The select query returns the set.i.e. 1 row
But this will remove the entire tableA I want to delete only the lines where I have industry-> APAC and region-> all THE. But I don't want to hard-code the value.
It must come from a select query.

Thank you
DELETE FROM TABLEA WHERE (INDUSTRY,REGION) = (select industry,region from TABLEA where substr(tableb_fk,1,2)='AB' and value is null
group by industry,region)

Tags: Database

Similar Questions

  • Is there a way to remove only 1 point or only certain elements of the story without deleting everything at once?

    Why the deletion of one day in the historical cache not delete everything? Is there not a way to remove only certain things while leaving everything else intact?

    You can delete specific items in the sidebar of history or in the library (history > view history).
    ---
    http://KB.mozillazine.org/Viewing_the_browsing_history_-_Firefox

  • Export PDFS for only certain scenes

    Is there a way to export your script in PDF format with only a number of scenes.  IE, I would like to be able to print only the first 20 scenes of my script.

    If this isn't a feature of history or the history more (which I have), then can this please be introduced as soon as possible?  Looks like a pretty useful feature that should already be in the history.

    Thank you!!

    Currently, we do not have a feature that allows you to export only a set of scenes.

    If you work on a Mac or you have Acrobat installed on Windows, you can try printing PDF format-specific scenes. In the print to the Adobe Story dialog box, there is an option to print a range or specific scenes. You can try this option.

    Also, another solution would be to duplicate your script and then delete the scenes you want not export and then finally to export to PDF.

  • Print only certain colors PostScript [JS, CS3]

    Is it possible, via a script to output only certain colors of ink when printing to a Postscript file? When do it manually, you can choose the colors to the exit, but I was not able to find a way to do this via a script. Any ideas?

    Well I think I have this working now. Here is the code:

    // This script works by doing a few things. First, it will delete any ink that isn't actually on the document and in use.
    // Then it will prompt the user to choose what inks they want to output. Once the script has those ink choices,
    // it will decide, via four if statements, what colors to output. There are four if statements to handle all the combinations
    // of cyan and black outputs. The other colors checked (red, blue, etc.) will be printed from within all the ifs.
    // Once it knows what colors to output it creates a preset based on those criteria, and then uses that preset to
    // output the file. After the file is printed to Postscript it deletes the preset and saves and closes the file.
    // If the preset doesn't get deleted for some reason, it will simply be overwritten the next time the script runs.
    // I figured it would be cleaner if it would delete it each time.
    
    if (app.documents.length == 0)
    {
    alert("No document is open.")
    exit();
    }
    
    var myDocument = app.activeDocument;
    
    v =myDocument.unusedSwatches.length-1;
    while (v >= 0)
    {
      try {
       myDocument.unusedSwatches[v].remove();
      } catch (_) { }
      v--;
    }
    
    inklist = myDocument.inks.everyItem().name;
    checklist = [];
    
    //creates dialog box
    var inkDialog = app.dialogs.add({name:"F4 2up LH", canCancel:true});
    
    with (inkDialog.dialogColumns.add())
    {
            with(dialogRows.add())
            {
                var choiceText = staticTexts.add({staticLabel:"Choose ink(s) to output:"});
            }
            with(dialogRows.add())
            {
                with(dialogColumns.add())
                {
                    for (i=0; i
    

    So far, it has worked beautifully. Thanks for any help at all. If there is anything that looks like, it needs to be changed please let me know. It's been a while since I've done something like this.

    Nate

  • Way to do so only certain people can call groups

    I was wondering if there was a way to make sure only certain people/roles can call a moderate group of Skype. Thank you

    I thought about it

  • Why my icons are doubling on my screen? Why I can't delet from a set of icons?

    each icon on my desk is doubled.  Why every thing is doubly? And why can't I delete the extra set of icons?

    I suppose that you chose to display hidden files:

    http://Windows.Microsoft.com/en-us/Windows-Vista/Show-hidden-files

    Check this site and so was ticked show hidden files uncheck and see if the problem solved?

    I guess that some hidden files which are to restore and manage your files can be displayed and if this is the case you should not detect them, that's why Windows won't let you delete them.

  • How can I limit access (within my home group) for only certain user accounts on my 'portable' computer to view certain user accounts on my "desktop pc"?

    Hello

    I created a homegroup, in which my "Desktop PC" and "Notebook" are members. I have 4 user accounts on my desktop PC and 3 user accounts on my laptop. I wish that only certain user accounts on my laptop and desktop PC in order to access some user accounts on the other machine. I.e. "Sally" account user on my laptop only access account user 'Sally' on my desktop PC and vice versa. Rather than user account 'Sally' on laptop or desktop PC being able to access 'Martin' account on laptop or desktop PC.

    In other words, I wish that every Member of the family must be able to connect to my laptop or my desktop PC and access their files that are stored on the desktop originally.

    Can you help me?

    Thank you.

    Hello

    It seems that you want to restrict access to certain user accounts in the homegroup.

    I will definitely help you with this.

    I suggest you to refer to the advice given by David. F 24 August 2012 and check if it helps.

    http://answers.Microsoft.com/en-us/Windows/Forum/Windows_7-security/HomeGroup-how-to-identify-different-users-and/a0e41608-5691-43D0-8FB0-1a677690edef?msgId=c4104da0-64F5-42AD-8bb2-8734fcfd3962

    For more information, visit the following link.

    Homegroup: frequently asked questions

    http://Windows.Microsoft.com/is-is/Windows7/HomeGroup-frequently-asked-questions

    It will be useful. If you have any other questions, feel free to let us know. We will be happy to help you.

    Thank you.

  • You can apply an overlay of colors for only certain elements in an image?

    I was hoping to add some color to only certain articles (texture) and was eager to find where it is not overlay everything. Would appreciate any help I could get. Thank you

    PLC

    Yes you can do this simply by making a normal selection

  • Lightroom: How to import only certain types of files

    How to import only certain types of files like jpg only)

    So I have an S5 (not a S6) and I did not earn 8.1, I have Win 7 and what I do with photos taken by this phone is simply to use Windows to copy pictures on any desired folder on one of my hard drives, and then I import it from there. I don't really know if there is a way to import pictures directly from the phone. Maybe someone else has a better answer.

  • Edition-> delete only delete area selected percentage of opacity.

    Edition-> delete only delete area selected percentage of opacity.

    I want to make clear can easily remove the whole pixels in the selected area.

    Where can I change the value?

    Sorry for my English.

    You can use the selection tools and press DELETE to delete the pixels. To reduce the opacity of select the area can move this area into a new layer, and then adjust the opacity of the layers.

    Or better yet, select the area to apply a mask to this layer. The mask will determine what is hidden and what is reduced opacity, leaving all on the same layer. With the mask, you can use the Brush tool to paint between (hidden) black to white (visible) and grey are the steps of opacity.

    This means that you can also use gradients or filters on this mask.

    If a search on google for layer masks or the opacity mask to provide assistance.

    If this is not the case, let us know.

  • Share only certain properties on multiple pages

    Is it possible to share only certain properties of an object between other pages?

    For example, I have a heading of text on each my pages. It's in the same place and of the same color on each page. The actual text is different on each page (for example a home page, another tells about, etc.). Is it possible to share the color and location through the other pages, but not the actual text value?

    You can 'cheat' that by converting one of text objects to a button symbol. Symbols of button labels of different text for each instance. I do it all the time. Use this symbol on all of your pages and update the label in the properties panel.

    Something good, make sure you announce a State identical to the symbol of the button, otherwise if you preview or export a HTML prototype, the text will disappear if you mouse on it.

    Jim Babbage

    http://www.Peachpit.com/store/product.aspx?ISBN=0321562879

  • Backspace delete only a single space instead of the whole tab on a new line

    Hello

    Our web service recently had time to install Dreamweaver CS4 and I'm the only one with this problem.  I have been through five time preferences and do not have the error in Dreamweaver 8.

    Mode code:

    1 write a line of code

    2. press "Enter" to move to the next line, press tab to indent and write more code

    3. Press 'Enter' and press BACKSPACE to return to close the open tag.  Usually, this should remove the tab all, me the tail with the line of code #1.  However, for some reason it is only remove space both to make me press BACKSPACE four times to return to the position.

    This happens in html, jsp and xml of the old and new files.

    My preferences are set up exactly like the other members, but they do not have this problem.

    Preferences: Code Format

    Dash: "checked" with 4 spaces

    Tab size: 4

    Any help would be greatly appreciated.

    Hello

    Change the withdrawal with spaces # (# = number you have set it to the) indented with tabs #, in the drop-down list 1 point in preferences - Format of Code.

    PZ

  • The value line color only certain transparent traces

    Hello!

    I'm looking for script set the stroke to some traces of transparent color (for CS6)

    Thank you!

    give this a go...

    function outlineSelection(){ 
    
        var col = new CMYKColor;
        col.cyan = 0;
        col.magenta = 0;
        col.yellow = 0;
        col.black = 100; 
    
        var sel = app.activeDocument.selection;
        for(var i=0; i < sel.length; i++){
            if(sel[i].typename === "CompoundPathItem"){
                for(var j=0; j< sel[i].pathItems.length; j++){
                    modify(sel[i].pathItems[j]);
                }
            }
            modify(sel[i]);
        } 
    
        function modify(obj){
            obj.filled = false;
            obj.stroked = true;
            obj.strokeColor = col;
            obj.strokeWidth = 0.25;
        }
    }
    outlineSelection();
    

    EDIT: I only got 1 = in the stated case, oops. I've updated to =.

  • Select only certain lines

    Hi all

    As a result, I have a query with more than 500 lines. I wish only show the first 50 lines. Did you know that any way to prepare the select sentence to do? I prefer to avoid using cursors to do this.

    Kind regards
    dbajug

    Hello

    Use the keyword ROWNUM to pick the first 50 rows

    simplest example

    Select * from EMP
    where rownum< 5="">

    concerning
    Hitesh

  • How to limit the search to only certain web browsing websites?

    Hey, guys!

    I would like to know how to limit my computer to certain websites. I know how to set up parental controls, but I don't want to do that. I would like to limit the administrator account, but Windows won't let me because I am the administrator. Is there another way to do this? What I try to do is set up the computer so that it has access to some Web sites (similar to what you can do with parental controls). I don't want to block certain websites. I want to access some Web sites only and does not allow the computer to access all websites except those on the list to. Is there a way to do this? Is there a way the administrator to do without having to set up another account username or account of parental control?

    Thank you.

    R. best

    There is not a way to make this built-in function.  I'm sure there are programs online that can help you (although as an administrator, you can always circumvent or disable the software).

    If you want to only block some sites, you can change your hosts file.  However if you want to block "everything but a small number", it would be impossible because you can block only - not allow - sites using the hosts file.

Maybe you are looking for

  • Windows 10 &amp; Palm Desktop

    Palm Desktop will work in 10 Windows with download of driver, that I used for Windows 8.1?  I have the version of Palm Desktop 6.0.1 or 6.0.2.

  • I can create RAID 0 with the Satellite A200-23 s

    Hello!-----I have Toshiba Satellite A200-23 s.This laptop has two (200 GB) HARD drives.Can I create RAID 0 with this HARD drive?-----P.S. Sorry for my bad English

  • restart becomes a headache

    Some applications in my mac pro book weren't so I just tried to restart it by clicking the symbol on the left of my screen apple, after the restart, I had an apple with a processing bar logo, but just the bar was 1/4 full working bar inside a circle,

  • OfficeJet 3830: dialog box for the scanner

    Just replaced an Officejet 6500 with an Officejet 3830.  The 6500 had a dialog box analysis from the top of the office, which showed levels of ink and scanner options.  The new 3830 seems not to have this.  Is there a way to get this dialog box for t

  • Difficulty Erorr 1009

    How can I fix erorr 1009?