LIKE IN

I need to frame a query with LIKE as well as In clause.
eg
select * from tab where tab_name like in ('%abc','%def',....)
Its 9i not 10g. I do not want to use tab_name like '%abc' OR tab_name like '%def' .....Because the list is very huge.
Any options available?

Hi,
You can try this approach:
SQL> SELECT table_name FROM USER_TABLES;
TABLE_NAME
EMP
PLAN_TABLE
T
TEMP
TOAD_PLAN_TABLE
T_DIRECTORY_NUMBER
6 rows selected
SELECT a.table_name
FROM user_tables a  , TABLE(sys.DBMS_DEBUG_VC2COLL('TABLE','NUMBER')) b
WHERE a.table_name LIKE '%'||b.column_value||'%'
SQL> /
TABLE_NAME
PLAN_TABLE
TOAD_PLAN_TABLE
T_DIRECTORY_NUMBER
SQL> Regards

Similar Messages

  • Firefox logo missing from new browser; would like to see it so I can know at a glance which browser I am using.

    Bring back the logo or something else to allow quick identification of browser. Chrome doesn't have its logo in the browser either so now it going be harder to tell between the two. Is this a contest to see which can be more self effacing?

    You can click the 3-bar Firefox menu button and open the Customize window.<br />
    At the bottom of this window there is a button to enable showing the title bar.
    See also:
    *https://support.mozilla.org/kb/how-to-make-new-firefox-look-like-old-firefox
    *https://support.mozilla.org/kb/common-questions-after-updating-to-new-firefox
    *https://support.mozilla.org/kb/learn-more-about-the-design-of-new-firefox
    ;[[Image:Customize Fx 29 Win8]]

  • LIKE, LIKEC and Index usage

    I've table that contains about 20 million rows, and I've created index for varchar2(100) column. It works well if I do
    SELECT * FROM MY_TABLE WHERE MY_COL LIKE 'FOO%';
    But if I change query to use LIKEC (to make unicode escaped strings work):
    SELECT * FROM MY_TABLE WHERE MY_COL LIKEC 'FOO%';
    I always get full table scan in explain plan.
    I tried to use NVARCHAR, or index created by TO_NCHAR but I always end up hitting full table scan.
    Should I create index some special way or do something else before I get index working?

    Just a gut feeling : is the database using character semantics or byte semantics?
    My gut feeling, after looking up the documentation, is it should be character semantics.
    BTW: Not posting version info decreases the chance you get an adequate reply.
    Sybrand Bakker
    Senior Oracle DBA

  • How difficult would it be to create something like this? 

    I'm looking to create a flash widget similar to what WoW has
    on their main page -
    http://www.worldofwarcraft.com/index.xml
    It needs to have images & text that could be called from
    a php or text file, so that it can be dynamically changed. Movies
    will also be integrated in the rotation as well for the Flash.
    How difficult would this be for someone who's new to flash?
    How long would it take and what all is needed to learn how to
    re-create something like this?

    The difficulty and time to do it depends on the learning
    capability of the new programmer. Patience and a drive to learn is
    what all is needed. Accomplishing one step at a time is probably
    the best approach, whether you're new or well-versed.

  • Javascript  - is there something like an "active row count" property??

    Lets say I have a tabular form. Every time I use the form, the # of rows returned by the query will vary. Maybe first time I go to the page, the select statement returns only 5 rows, but the next day it returns 25 rows.
    Is there some type of system variable to stores the # of rows visible on the page at a given time within this tabular form?
    I realize that if I have an tabular form item with an id of f03 for example, then on each row it will be referenced as f03_0001, then f03_0002 on the next row and then f03_0003 on the next row etc...
    In pseudocode, here is what I want to do:
    For i = 1 to ACTIVE_ROW_COUNT (assuming this is the # of rows in the HTML table)
    perform some operation on 'f03_000' + ACTIVE_ROW_COUNT
    Do you see what I'm after? I checked the APEX api, but I couldn't find such a property. It seems like you can't do much if you can't figure out this current index # or the max on the page.
    Also, I tried playing around with the "this" keyword in hopes of finding a pointer to the "current item" that would have triggered the onchange event, but no luck either.
    Thanks in advance.

    Hi:
    Within javascript you can reference the columns of the tabular form as
    <script>
    col1 = document.forms0.f01;  // the first updateable column of your report
    alert (col1.length) ;   //  number of rows
    </script>varad
    Edited by: varad acharya on Dec 8, 2008 5:53 PM

  • Malicious or not? Message popped up: Mozilla security found (something like too much, forget exact word) activity on your computer so it will do a fast scan of system file. With OK button.

    I was looking at youtube.com, which always tells me my browser is not supported and recommends I download Firefox, but that is what I was using, so I went to Firefox to check for updates. (I think I also had freecycle.org open.) Then this message popped up in a new page: Mozilla security found (something like "too much", forget exact word) activity on your computer so it will do a fast scan of system file. There was an OK button. The page address was: http://update17.stegner.ce.ms/index.php?Q7Lhl9ShbRxGJXpkM1VLSi4ZE8H4pTedoVPySgeppM3VpC+thEspcFG7qxHgn1pdsC2h5ygPGWI3t5hXqMzL9EQaZZ3J1e3CKXgCb0Qp. I did not click OK but copied the link and closed the window which closed the internet. I have never seen this before and would like to know if it is really Mozilla or possibly something malicious. Thank you.

    Good catch. That almost certainly is an invitation to download malware.
    There are a lot of infected web sites pushing "fake antivirus" software. If you have any doubts about whether your system might have become infected, you can supplement your regular security software with these two highly regarded scanners:
    Malwarebytes Anti-malware : http://www.malwarebytes.org/mbam.php
    SUPERAntiSpyware : http://www.superantispyware.com/

  • Exist a Jtree node.id or something like this ?

    I would want to retrieve a node using a unique 'id', for example the absolute index (into the total nodes count)
    Is there something like this ?
    Can I add a particular property to a node ? ( for example this 'id' if it does not exist )
    Another question :
    If I want to implement a search code, this 'id' can be useful, or must I transverse the whole Jtree
    Thanks

    Hello.
    Do the following:
    1. Go to the Apple Menu at the top left of the screen
    2. Select Software Update...
    3. Install any updates that are found.
    If the Amazon issue continues after these updates, then do this:
    1. Open Safari
    2. Erase any web address you have currently showing (for example www.apple.com or www.google.com)
    3. Type in www.amazon.com
    4. That should take you directly to amazon.com
    It should look like this in your Safari::

  • Wat is the use of "DATA var-name LIKE SY-INDEX" statement

    Hi to all,
           is there any use of "DATA <var-name> LIKE SY-INDEX"  statement in ABAP, do the variable <var-name> be changed with that of SY-INDEX when we declare like this.
             Could u give me a fast response,
                                            Thank you,
                                                 Srinivasa Rao k.

    hi check this example..
    data: v_index type sy-index value 10 .
    do 15 times .
    if sy-index = v_index .
    write:/ 'the system index is 10 '.
    exit.
    endif.
    enddo.
    the main use of the index is used in the hr programs..
    the user wants the emp salary and previous months   salary then you need to use the index .
    if the table had 10 records .then you need to catch the record of  index1(current) and index 2(for previous month)..
    select pernr ansal  from pa0008 into table it_pa0008 where pernr in s_pernr and begda in s_begda .
    loop at it_pa0008.
    case sytabix.
    when 1 .
    it_final-cursal =  it_pa0008-ansal.
    when 2 .
    it_final-prevsal =  it_pa0008-ansal.
    endcase .
    endloop.
    regards,
    venkat.

  • A few days ago i bought the macbook pro in a Providence. In late Summer i will come back to my Country - Ukraine. I would like to know about a tax for my laptop. Can i return tax? Through the TAX FREE or return in airport? What should i do?

    A few days ago i bought the macbook pro in a Providence. In late Summer i will come back to my Country - Ukraine. I would like to know about a tax for my
    laptop. Can i return tax? Through the TAX FREE or return in airport? What should i do?

    You need to talk with the tax authorities in the countries to which you traveled and that of your home country. We are all end-users liek you and not Apple agents.

  • IS NULL and LIKE '%'

    How can
    select * from training_participant_tab where participant_id = '9020' and
    company_id IS NULL; returns 5 records and
    select * from training_participant_tab where participant_id = '9020' and
    company_id LIKE '%'; returns NOTHING ?
    field company_id is varchar2 field..

    NULL is very much not the same as ''.
    INSERT INTO training_participant_tab (participant_id, company_id) values
    (9020,'') is not the same as INSERT INTO training_participant_tab
    (participant_id) values (9020)Not right. Oracle treats '' as NULL value:
    SQL> create table t (participant_id number, company_id varchar2(10));
    Table created.
    SQL> insert into t values (9200,'');
    1 row created.
    SQL> insert into t (participant_id) values(9200);
    1 row created.
    SQL> select * from t where company_id is null;
    PARTICIPANT_ID COMPANY_ID
              9200
              9200Rgds.

  • How do I add URI web link with custom tooltip like "CLICK HERE TO UPDATE" instead of URI web link in tooltip.

    How do I add URI web link with custom tooltip like "CLICK HERE TO UPDATE" instead of URI web link in tooltip.

    You've probably found an answer to this by now, but I think this has been addressed in another forum -- The link below suggested using a button and adding the tooltip to the button. 
    https://forums.adobe.com/thread/304974?start=0&tstart=0
    Sounds like it would work but I haven't actually tried it. 
    Good luck~!

  • I deleted a contact, but they still show up in my text options to send.  I would like to delete the contact from my texts too.

    I deleted a contact, but they still show up in my text options to send.  I would like to delete the contact from my texts too.

    No don't restore your iphone. I've done that several times &amp; it has never worked. -I still have deleted contacts in my iphone texts.  *However if you do restore it you will not lose all your data, pics, text messages etc if you backup in iCloud. It restores back to original phone. Very nice :). Anyhowwww....
    I JUST  figured it out!! :))). Remove the contact from recents.
      Start a text. You should see the deleted contact. All the way to the right of the name is a symbol. The symbol is a circle with "i" in the middle. Click that symbol then in red lettering click "remove from recents".

  • Cannot delete file from disk after emailling that file like attachment

    After i send some file from disk in Mail like attachment i cannot delete that file from disk unless i quit Mail. Like Mail is still using a file. Of course, that mail is in Sent mail, not in outbox.

    This deeper than that. I created another account on the same iMac and it works in Harmony with my other devices and Documents in the cloud. I can only imagine the icloud account is somehow corrupted (I am on my macbook not iMac at the moment). There have been no updates to the Calendar, Contacts or Documents since early January on that account. I have spent 1hr on the phone with support and they were baffled as well. Only thing I can gove as insight to the problem is this, I was on the Mac Mini which was backed up on Time Machine. about 4 or 5 months ago I had to completley restore the Mac Mini becasue of the never ending circle on the load screen. The Backup failed to work it kept loading the issue and 4 or 5 times the circle of death kept coming up I would subsequently wipe the Mini and go further back in the back up until I go a copy that worked.  I then loaded the Time Mache back up into my NEW iMac and wnet from there. It took about a month for this problem I am detailing above to start happening. It maybe a corrupt file loaded from the backup into the new iMac causing this problem. Best answer I can think of on my own???

  • How long does it take for the warehouse to show a phone as recieved so I can pay my final bill?  I would like to sign up for Verizon again as I am very unsatisfied with my new company but cannot until this is resolved.

    I recently switched to another competitor but would actually like to start from scratch with Verizon but cannot do so because they cannot locate my devices I mailed in to their warehouse.  I switched my whole family's accounts, 3 phones and 1 mobile hotspot, to a competitor to get a cheaper rate and unlimited data but I have not been happy with their service and would like to switch back.  The problem is when switching the first time I was told by a Verizon chat rep that I could send my Edge devices back in and would get credit for them and stop my edge payments which was not the way I know now it is supposed to work.  After a couple of phone calls a supervisor looked at my online chat transcript and realized that I was correct and the rep had told me incorrectly that they would take my edge phones back and give me credit for them and I could close my account by only paying the early termination fees.  She sent me two envelopes to send my two edge phones back in and said they would credit on my account and stop the monthly billing for them once they were received.  I called a couple of weeks ago after being charged 24.99 for the both of them again for the month after my account was stopped.  They said that they had not received my phones and I should have noted the tracking number from the labels the rep sent me so they could track them.  I tried to find the tracking numbers but couldn't so I got back on live chat and asked them to resend me the letter from the supervisor rep as well as resending the labels and he said they could that and it should be 7-10 business days.  It has now been over two weeks and I have not received the resent letter or labels so I cannot give them the tracking number to prove I sent my phones back to them.  I have also researched the facility I was asked to send these phones back to and it seems this is a pretty common Verizon trick of making you prove you sent the phones and not giving you any access to the tracking numbers.  I just want to pay my ETF's and close out my original account so I can start over fresh with Verizon but now I am losing faith in doing that as this is making me wonder if they are the type of company I want to deal with.  Please someone who may have dealt with this help me restore my faith in Verizon and give me an idea of what to do next.

    How recently did you switch?  If it's less than 60 days, then Verizon simply reinstates your previous account.  The fact that you were on the EDGE plan and mailed the devices back, and they apparently are somewhere in the system, could cause complications, and it might just work out that you just go back on the same plan and they set you up with the same devices.  I'm not sure how it will go - but since you are still being billed for the devices... 

  • Message "to open MLBNexDefAutobahn, you need a Java SE 6 runtime. Would you like to install one now?"  I click "not now" and it pops open a second later.  It won't go away.  Help!

    I keep getting a pop up window labled Software Update saying, "To open 'MLBNexDefAutobahn,' you need a Java SE 6 runtime. Would you like to install one now?" I click on "Not Now" and it pops open again a second later.  It is not going away! Is this a Java virus? I just installed Maverick Wednesday and got a message yesterday on google that "Google would like to take over this computer"??? Please help.
    Thanks!

    This is not a virus, or any other kind of malware. Some third-party software that you have installed is repeatedly trying to open a Java process called MLBNexDefAutobahn. What that software might be, I don't know. What software do you have that this name might fit with?

  • I have recently purchased MacBook Pro with Mac OSX 10.7.3 Lion and I would like to install Final Cut Pro 6 Studio2, and it came up with this error: 'you can't open application FinalCutProStudio.mpkg because PowerPc apps are no longer supported..pls advise

    I have recently purchased MacBook Pro with Mac OSX 10.7.3 Lion and I would like to install Final Cut Pro 6 Studio2, and it came up with this error: 'you can't open application FinalCutProStudio.mpkg because PowerPc apps are no longer supported......Is there a way to run FCP6 on lion withoput this error? Any help would be appreciated.....

    Hi Shane,
    Just one more quesiton re: this topic, I am looking to get rosetta but do not have Leopard or Snow Leopard...
    I read that it is not on Snow Leopard only on Leopard....so do I need to get only Leopard? Can u advise?
    Alternatively I do have Mac OS X Tiger so is it on this and can I install it from here?
    Please excuse my lack of knowledge here, just trying to get my FCP 6 up and running asap....
    Best Rgds.

Maybe you are looking for