with COL1 when like '% XYZ' in sqlldr controlfile

Hello
I noticed that the WHEN clause in the controlfile takes only = and! =

can I use WHEN COL1 LIKE '% XYZ '.

Thank you

Instead of using LIKE operator, you can use the extension number to match the alphabets in the position. I know that it is just a workaround but sqlldr provides these improvements now.

see the link below

Re: SQL Loader when Clause

Tags: Database

Similar Questions

  • Can fill us transitional attribute in the table with no serial like 1,2,3, etc.? And how?

    Mr President.

    Can fill us transitional attribute in the table with no serial like 1,2,3, etc.? And how?

    Concerning

    You want to show serial No. on the page for all the lines?

    Check once-

    Blog of Ashish Awasthi (Jdev/ADF): Add the serial number to the table of the ADF, column to auto-increment in the table to the ADF

    Actually transitional attribute loses its value when page refreshes or viewObject is not appropriate in this case if your use case is different, so please tell us

    Ashish

  • search with the operator LIKE randomly.

    Hello
    I use ORACLE Database 11 g R1 and RHEL 5.

    My front end gives options of the user to search for data on specific keywords.

    For ex:-If the user wants to search for a column of detail with specific keywords. FREQUENCY, INPUT

    the DB now has 4 Details values which has the keyword FREQUENCY, INPUT, but when the request is formed it forms as
    select ...
    from ...
    where detail like '%FREQUENCY%ENTRY%';
    This query will give only 2 production lines: -.
    frequency entry FM alarm
    frequency entry alarm FM 
    because the two key words are in the same order as the query in the like operator.

    the output I expect is: -.
    frequency entry FM alarm
    frequency entry alarm FM 
    entry alarm FM frequency 
    entry FM alarm frequency 
    Here, the other 2 rows also have the FREQUENCY and INPUT keywords, but their order is reversed.

    I can do this with a query like this: -.
    where data like2 '%frequency%entry%' or data like2 '%entry%frequency%';
    but the no. keywords are not fixed and this request is generated when executing.

    can you please guide me with any appropriate solution what should I write in the serach request data in random order also?

    Thanks in advance.

    VJ4 wrote:
    Thank you for this example.

    Just a point I need to erase

    the MOTHER in THIS * MOTHER * question TRA...

    The person seeking will enter "FREQU" and be expected to get all descriptions that has the string 'FREQU' love...

    "A less * FREQU * ENCE is observed.

    In this case, only the entire word is sought. as "FREQUENCY", but if I put "FREQU", it will not give the expected results.

    Please guide me in this last point, how can I the operator as string of feature and research?

    In this case we go back to the previous example where we don't words.word surround test for spaces (or start/end of string) in the part of clause regexp_instr...

    SQL> ed
    Wrote file afiedt.buf
    
      1  with t as (select 'frequency entry FM alarm' as txt from dual union all
      2             select 'frequency entry alarm FM' from dual union all
      3             select 'entry alarm FM frequency' from dual union all
      4             select 'entry FM alarm frequency' from dual union all
      5             select 'just a plain old frequency' from dual union all
      6             select 'just a plain old record' from dual union all
      7             select 'and an entry level record' from dual union all
      8             select 'and an sentry to frequency' from dual)
      9  --
     10  -- end of test data
     11  --
     12      ,req as (select 'frequ entry' as req from dual)
     13  --
     14  -- end of required search words
     15  --
     16      ,words as (select regexp_substr(req,'[^, ]+',1,rownum) as word, rownum as rn
     17                 from   req
     18                 connect by rownum <= length(regexp_replace(req,'[^, ]'))+1)
     19  --
     20  select txt
     21  from t join words on (regexp_instr(t.txt,words.word) > 0)
     22  group by txt
     23  having count(*) = (select max(rn) from words) -- cater for AND
     24* or (count(*) >= 1 and 1 = (select case when instr(req,',') > 0 then 1 else 0 end from req)) -- cater for OR
    SQL> /
    
    TXT
    --------------------------
    and an sentry to frequency
    frequency entry alarm FM
    frequency entry FM alarm
    entry FM alarm frequency
    entry alarm FM frequency
    
  • do you need to always have your iPhone with you when you wear the watch?

    do you need to always have your iPhone with you when you wear the watch?

    Answer brief No.. The watch can do many things with the phone. If you have the 2nit series has built in GPS so it can follow, see this.

    How to use your Apple Watch without your iPhone in the vicinity - Apple Support

  • Hi, I have a problem with FF, when I click on a google site, opening in a new tab and I don't want to, can you help me?

    Hi, I have a problem with FF, when I click on a google site, opening in a new tab and I don't want to, can you help me?

    Hello, this may be a preference in your google search parameters. go to google.com/preferences and disable the option to search results open in a new browser window.

  • Inbox is related to Mozilla? If this is not the case, how I find myself with it when I upgraded my Firefox?

    What is the Inbox that has appeared on my firefox? Is it related to firefox? If this is not the case, how can I get rid of him? This happened after I've upgraded to the latest version. Thank you

    Hi, no this is not part of firefox. Please always make sure that you only have to download firefox from the official site at getfirefox.com. Please try these steps to get rid of this adware:

    1. Go to firefox > help > troubleshooting information > profile folder - "view folder", then a new window will open. in this search on a file named user.js window (it can be used to overwrite your custom settings). where it is present, delete or rename this file and then restart firefox. How to fix preferences that will not save
    2. then install the reset search addon - he'll come back more often customizations make these adware programs in default firefox: https://addons.mozilla.org/firefox/addon/searchreset/
    3. Finally, run a full scan of your system with security tools like the free version of malwarebytes & adwcleaner to ensure that it is not adware in other places as well.

    Remove a toolbar that has supported your Firefox or the homepage search
    Fix Firefox problems caused by malicious software

  • PC crashes with DBO when downloading a file using Firefox to my iPad

    PC crashes with DBO when downloading a large file via WiFi to my iPad and using AVPlayerHD player on the iPad. There is no report of error in Firefox, just the crash dump Windows 7 due to the accident. Only the combination of Firefox on PC and player AVPlayerHD on iPad causes this crash. Any other combination of PC and iPad works.
    Examples:
    Firefox on PC and iFile on iPad works well.
    Google Chrome on PC works with all programs on iPad.
    Firefoc on PC and player AVPlayerHD on iPad crashes.

    So you get a Blue Screen of Death on your Windows Machine? You have the exact error codes that appear when you get this blue screen?

    Blue screens mean that you have a problem with a driver, hardware or virus on your PC, not with Firefox. I try to launch a program of analysis such as http://www.resplendence.com/whocrashedand see if she can tell you what triggered the accident. Also, make sure that all your drivers are up to date on your computer (especially the graphics driver: update your drivers graphics to use hardware acceleration and WebGL) and check the virus (Troubleshooting Firefox problems caused by malware).

    After that, if you still get the blue screen and crashed does not help, I would say to try to test your RAM with a utility such as http://www.memtest.org/

  • The search with BING when I type my research topic in the address bar. How can I change?

    The search with BING when I type my research topic in the address bar. I wish it were google again.
    How can I change?

    Hi sarou,.

    Take a look at this article on the keyword service. It will show you how to get back to Google.

    Hope this helps!

  • Why can't open a document attached (most pps) with firefox when I can with internet explore?

    Why can't open a document attached (most pps) with firefox when I can with internet explore?

    You are welcome

  • My I phone screen see the black with a command like a dos {nand} system...

    My I phone screen see the black with a command like a dos {nand} system...

    Your phone has a serious problem. You can try to reboot (hold home and power at the same time for about 10-30 seconds buttons), but if that does not work, your hardware is probably fried. Make an appointment at your nearest Apple Store Genius Bar for confirmation.

  • IPod touch can be set to turn on/off automactic with car when pluged to the document cig lighter.

    IPod touch can be set to turn on/off automactic with car when pluged to the document cig lighter. I'm going to buy a new ipod in a few days and my old man would come when started the car but I had to turn off every time I'm out. Eather model adjustable in power when the car stops (power cut off to the document cig lighter)

    Only if the car's system has the feature. There is no setting on the iPod

  • Someone is sending emails with my windows live address to all my contacts without my permission, spamming other mailboxes with what looks like messages from me.

    Someone is sending emails with my windows live address to all my contacts without my permission, spamming other mailboxes with what looks like messages from me.

    Help with this!

    Apparently, someone broke your Hotmail account. Change your password immediately. For more information, visit these web pages:

    Compromised account - unauthorized account access
    Hotmail hacked? Take these steps
    Hotmail: Tips to help protect your account

    Boulder computer Maven
    Most Microsoft Valuable Professional

  • Cocos2dx - connection with api native (like open URL in browser)

    Hello..

    I have found no guidance about how to connect blackberry native API with cocos2dx just like Android with some jni...

    For example, to open a link in the browser of the application cocos2dx...

    A guide to this topic will be very useful

    Sorry for posting to do before...

    In fact lately, I realized that this cocos2dx is based directly on Blackberry native sdk... It is not necessary to have a bypass between core native API and cocos2dx...

    And we can directly use native c and c ++ API...

    Want to open url now using class b/s/navigator...

  • My whole Outlook contacts list has been deleted (I had nothing to do with it) when I go on 'people' all I get is the wheel of the cart when I insist on the 'device' same thing!

    My whole Outlook contacts list has been deleted (I had nothing to do with it) when I go on 'people' all I get is the wheel of the cart when I insist on the 'device' same thing!

    Hi Chevelon,

    1. How do you navigate Outlook.com?
    2. using Internet Explorer or another web browser?
    3. If you are using Internet Explorer, version of Internet Explorer you are using?
     
    Try to optimize Internet Explorer
     
    How to optimize Internet Explorer
     

    Note: The feature reset the Internet Explorer settings can reset security settings or privacy settings that you have added to the list of Trusted Sites. Reset the Internet Explorer settings can also reset parental control settings. We recommend that you note these sites before you use the reset Internet Explorer settings.

     
    If the problem is still not resolved, please post the request to the Forum Windows live:
     
    Microsoft, Outlook.com, SkyDrive account
     
    Please report if you need help. We will be happy to help you further.
     
     
     
  • Does anyone have problems with playback when editing v9.2?

    I have problems with playback when you change a small project (4 min).  I had a few problems on previous projects, but this one is particularly bad.   When I read my edition, the (unique) audio plays normally but video lags or freezes completely.  I can get around it temporarily by parts of the sequence rendering, but that's a lot of time and as soon as I make a change, the problem reappears.  I updated drivers etc. After reading the other reviews but it now becomes impractical, and I'm seriously considering whether I should continue with first or look for something more reliable

    PLUG

    Samsung Chronos i7 with 8 GB of RAM and a lot of spare

    WIndows 10 build 10586.218

    First Pro 9.2 zigzag

    Pilot of 640 M from NVIDIA Ge Force GT 353.90

    The only area I think needs expansion is the disk configuration.  Here's what I recommend as a starting point.

    C: Windows and programs

    D: project files, audio, and still images

    E: cache and Scratch

    F: media camera only

    G: export

    In addition, a form of backup solution in place.

    The above will give you excellent disk performance, spreading things to prevent the creation of a bottleneck.  It is based on the use of the HARD drive, simply because they always have the best bang for the buck.  But if you have the scratch for some good sized SSD, the situation changes a bit.  You could probably combine D and E on a single SSD and F and G on a third party, without slowing things down significantly.

Maybe you are looking for

  • I want to register to a new Airport extreme

    I am trying to record a new extreme airport bought on Amazon, I don't see where I can do I also bought a 2-year warranty that I have not yet received

  • Change HARD drive on Satellite L300 - Windows Vista need

    Hi all My laptop hard drive is completely dead and the repair option didn't work.I backed up all my data, etc., including the folder HDDRecovery and WinRE partition/folder. This is a laptop Toshiba L300, which I bought in the United Kingdom (from the

  • Can I delete my recent insert in browser preferences?

    I just entered an incorrect insertion in my browser preferences.I think he could have just barely out of a few empty spaces and now I want to just delete it and try again.But there were warnings beforehand when I opened "Prefs" to be VERY careful.I w

  • Cannot connect to content content/URL/default

    About once a month, I get a PopUp stating the following: Printer software update available Because HP values your privacy, we would like to ask permission to connect to the Internet for this quick update. It then lists a privacy notice and then asks

  • Can not insert music in emails

    Sound no more inserts in Outlook Express. I have no idea why it stop working.  I already did so that Windows Media Player 11 is my default player.  My browser is Internet Explorer.  My music plays fine on Windows Media Player.