Display null fields when you use a search function

Hello

The SQL below works fine except it will display records iif CAMPAIGN_NAME is null

Any ideas where I go worng is welcome

Thank you

Pete


Select the CAMPAIGN. CAMPAIGN_KEY,
CAMPAIGN_CODE,
CAMPAIGN_NAME,
LANGUAGE_NUMBER
campaign, CAMPAIGN_LANG
where the CAMPAIGN. CAMPAIGN_KEY = CAMPAIGN_LANG. CAMPAIGN_KEY
and LANGUAGE_NUMBER =: P1_LANG
and (instr (superior (CAMPAIGN_NAME), superior (nvl (: P260_REPORT_SEARCH, CAMPAIGN_NAME))) > 0)

Hi Pete,.

Replace
and (instr (superior (CAMPAIGN_NAME), superior (nvl (: P260_REPORT_SEARCH, CAMPAIGN_NAME))) > 0)
with
and (instr (superior (CAMPAIGN_NAME), superior (nvl (: P260_REPORT_SEARCH, CAMPAIGN_NAME))) > 0)
and CAMPAIGN_NAME is NOT NULL

Greetings,
Roel
http://roelhartman.blogspot.com/
You can reward this response in marking it as useful or Correct ;-)

Tags: Database

Similar Questions

  • Adobe acrobat reader for windows 8.1 x 64 crash when you use the search function

    Software Adobe acrobat reader crashes on windows 8.1 x 64 when you use the search function. Please help it is extremely annoying

    Hi rikusg98319732,

    I will suggest you to perform a clean reinstall of the reader.

    Delete using the cleaning tool: Download Adobe Reader and Acrobat tool - Adobe Labs

    Install from here: http://get.adobe.com/reader/enterprise/

    Thank you

    Abhishek

  • How to choose the display by default when you use two screens on my Mac Pro?

    How to choose the display by default when you use two screens on my Mac Pro?

    The default view when you have several is made that you drag the little icon in the menu bar in this pane:

    .

  • When you use the search for a window, the files are not listed in the search index

    Original title: question of Windows search

    When you use windows search, records that are not not in the search index are searced. Why?

    Hello

    1. What is the operating system installed on your computer?

    2 are there any changes made recently to the computer?

    Improve Windows searches using the index: frequently asked questions: http://windows.microsoft.com/en-US/windows7/Improve-Windows-searches-using-the-index-frequently-asked-questions

    You can also check:

    Reconstruction of Index of Microsoft Windows 7 search: http://windows.microsoft.com/en-US/windows7/Change-advanced-indexing-options

    Advanced Tips for searching in Windows

    http://Windows.Microsoft.com/en-us/Windows7/advanced-tips-for-searching-in-Windows

    I hope this helps.

  • When you use a search (bing, yahoo, google etc.) engine I continue to redirect to another search.

    I have windows XP and currently had my computer disconnected because of a power outage in the region.  I haven't lost power, however, it made my DSL for the region.  After my DSL provider me traveled reconnects, I keep getting redirected when you perform a search.  The only way I can get the website that I want is to copy the link and paste and then perform a search.  I can not click on the link and have it direct me to this Web site.

    Hello

    1. what internet browser do you use?
    2. have you made further changes to the computer recently?

    Method 1.
    I suspect that it is a virus and I highly recommend to run aScan of Virus online.
     
    Sometimes the security program installed might not be fair enough. I also recommend you update your security software regularly.
     
    a. follow the link below to start the free online scan:
    http://OneCare.live.com/site/en-us/default.htm
     
    b. run the malware removal tool from Microsoft.
     
     
     
    Method 2.
    Let us optimize internet explore and check.

    a. I would recommend you to optimize internet explore.
    See the article below for steps optimize internet explore. Try also in mode without modules.
    http://support.Microsoft.com/kb/936213
     
    b. If nothing works to solve the issue try reset Internet Explorer.
    How reset internet Explorer?
    http://support.Microsoft.com/kb/923737
    IE reset warning:
    Please note that reset the settings of Internet Explorer running resets all of the settings defined by the user, including those established by the installed extensions, toolbars and other add-ons for IE by default. This includes all the security, privacy and settings area. Also this will erase browsing history, delete all temporary Internet, cookies, form data files and especially all the passwords.

    If the problem persists I would ask you to uninstall and reinstall Internet Explorer 8 and check.

    I hope this helps.

  • When you use Windows Search error SearchFilterHost.exe - Application error

    When you are using Windows XP (SP3) running Windows Search (4.0), I get the error message:

    SearchFilterHost.exe - Application error

    The instruction at "0x0af609c" referenced memory at "0 x 00000014. The memory could not be "read".

    Click OK to terminate the program

    I do nothing especially when this happens and the disabling or uninstalling this feature is not an option that I and some of the programs that I use it. She repeats every few minutes, but I'm pretty sure it's because the application restarts whenever you "Finish". I also tried to reinstall it but to no avail. Thanks in advance for any help.

    These errors appear when the index database is corrupted, for example during the crash, etc. The solution is, except disabling or removing the search service, reconstruction of the index. Just reinstall will not solve the problem, because that does not remove the corrupted index.

    On XP Pro:

    (1) start 'services.msc' and find Windows Search stop.

    My personal advice: check user accounts all records and make sure that the "Application Data" and "Local Settings" directories have their attribute 'Index summary' unchecked, including all files and subfolders. You can avoid many possible future performance issues.

    2) go to c:\Documents and Settings\All Users\Application Data\Microsoft and delete the entire directory "Search" (or just rename / move elsewhere).

    (3) close the session log. Index will rebuild, it may take some time, depending on the amount of documents, music, etc. you have. So be patient with harddisk increased temporary activity. Normally it works with a low priority.

    On Vista/7 Search index is located in \ProgramData\Microsoft, otherwise,'s done it the same way. Unfortunately, I do not know how to avoid the real alteration. XP seems more inclined to him.

  • Error when you use the trunc function

    Hai

    While I use the trunc function in my program there is an error

    ORA-01422 exact fetch returns several non requested lines but he executed successfully

    Concerning

    Srikkanth.M

    Srikkanth,

    Make sure that the SELECT INTO returns only 1 row. If you can not sure of that, so that its better to use a cursor.

    DECLARE
         CURSOR Cur_Att IS SELECT BARCODE, INTIME, OUTTIME FROM DAIL_ATT WHERE BARCODE = :BARCODE AND ATTEND_DATE = TRUNC(:bardate);
    BEGIN
         OPEN Cur_Att;
         FETCH Cur_Att INTO :TODAY_BAR, :TODAY_IN, :TODAY_OUT;
         CLOSE Cur_Att;
    END;
    

    Kind regards

    Manu.

    If my response or response from another person was helpful, please mark accordingly

  • When you use the search bar, it is possible to get results of the search in a new tab?

    In the old Google toolbar, it was possible to display the search results in a new tab, Google toolbar is compatible with Firefox 7, so I have to use the Firefox search bar. However, he always gets results the research in the current tab. Can this be changed?

    Yes. Open a new tab and type or paste Subject: config in the address bar, press enter and press ENTER again to override the warning. Then stick browser.search.openintab in the filter area that shows, and then double-click the browser.search.openintab to activate (it will switch to "BOLD").

    If you had rather an add-on simply do the above for you and add a menu option for it, try this:
    https://addons.Mozilla.org/firefox/addon/searchOnTab/

    You can also type a search in the search bar and press on alt + enter in instead of just enter to open your search in a new tab.

  • Display the progress bar when you use the Calculate function

    Hello

    For my project, I need to convert the raw values of a signal in physical quantities.

    To do this, I use the function "calculate".

    Because I have a lot of data, it takes time, and the user does not know if it works or not.

    The first thing I did, is to Add Dialog.BeginWaitCursor and Dialog.EndWaitCursor which works well, but is not enough.

    To view activity, I want to display a progress created bar before calling 'Calculate' and stopped after that.

    The progress bar does not need to show real progress, but displayed only a movement of progress even if it again to zeor until the end of the calculation.

    I have read some information on the progress made on this forum, but he did on selfmade function and tiara not call functions.

    This is why it is not useful to me.

    I don't know how to do this using vbs.

    Is it possible to create something like this?

    The best solution would be to get the status of the function of 'Calculate' to see where he is, but the function is not created to do this.

    Thanks for all the ideas,

    Best regards

    CFOE

    Hey CFOE,

    I asked R & D at the same time, because I thought I remembered seeing a progress bar continued in tiara before, but I didn't know if it was something we might call with a VBScript command.  I just heard back that you can, and it's here...

    Call AutoLoopInit
    MsgBox "ready to stop the progress bar?
    Call LoopDeInit

    Brad Turpin

    Tiara Product Support Engineer

    National Instruments

  • All menus have a display problem (flash) when you use FF on extended desktop monitor

    I use two monitors at work. SFO I have show FF on the "secondary" (extended desktop) monitor, all menus (normal menu, bookmarks, right-click), hot flashes from visible to hidden and so forth).

    then you can also try to disable hardware acceleration in firefox > options > advanced > general.

  • How to change the size of the video field when you use the camera

    I read the code 4.6 camera example:

    ...

    _videoField = _videoControl.initDisplayMode (Field) (VideoControl.USE_GUI_PRIMITIVE, 'net.rim.device.api.ui.Field');
    Display the video control
    _videoControl.setVisible (true);

    ...

    Basically, it creates a class and add the Manager user interface field. But the size of the field is small. How to adjust the size of this field?

    Currently, there is no API to control the zoom level of camera.

  • decomposition of Word when you use the search section

    Hi all! I can introduce my question with the following script:

    < pre >
    create table tb_test (number (5) id, content clob);
    ALTER table tb_test add the primary key constraint pk_test (id);
    insert into tb_test values (1, ' week < Word > < syl > < / syl > < end of syl > < / syl > < / word > ');
    create index idx_test ON tb_test (happy) INDEXTYPE IS CTXSYS. CONTEXT parameters ("filter Group ctxsys.auto_section_group section ctxsys.null_filter list of words empty ctxsys.empty_stoplist'");
    Select id from tb_test where contains (, 'week in syl') > 0;
    1
    Select id from tb_test where contains (contained, "week in word") > 0;
    1
    < / pre >

    So far so good. But I have a chance to search for the string 'end of week', even if it is divided into two pieces of the syl - tag?

    < pre > select id from tb_test where (content, ' weekend in the word ' ') > 0; < / pre > returns no row :-(

    In other words: someone knows a trick so that the tags of the element (like 'syl') serve as delimiters to search for the article, but do not preclude the search for the entire string?

    Any help is appreciated, thank you very much in advance!
    Roman

    Section separators will always break words. You should be able to search for "weekend" but not "weekend".

    If you need this feature you will need to think of something to massage the text before indexing, perhaps turning them into

    'weekend
    weekend"

  • Success message not displaying not to when you use a branch to URL

    Environment: APEX 3.1.1.00.09

    I have a connection to the URL that directs the user to another page in the application. I checked the box marked "include the message of success of process" and put my success message in the process that sets the number of page goes to the branch of URL, but the message does not appear.

    I put the success message in a different place?

    How can I get the success message should appear when the new page is rendered?

    Thanks a lot for any assistance.

    Andy, here's another easy for you! ;-) >

    -gary

    I put the SSP in the application and yet I am able to change the ID of the Application in the URL and creates a branch to the new application, I created to test the URL tampering.

    You can change a URL if there is no request, clear-cache or values of item names/element. I who does not explain, can you show me an example in your demo app?

    Scott

  • Missing right parenthesis when you use the CONTAINS function

    Hello

    The following sql causes the error "missing right parenthesis. Its a search engine simple execution of PHP that dynamically adds each keyword to a connection variable. This works fine if I use only 1 keyword, but as soon as others are added, I get the error.

    Here's the SQL echo:
    SELECT SCORE(1), TITLE FROM MYTABLE WHERE CONTAINS(TITLE, :1 AND :2, 1) > 0 ORDER BY SCORE(1), TITLE ASC
    My 1st thought was contains it seeks single quote so I tried the following combinations:
     CONTAINS(TITLE, ':1' AND ':2', 1) > 0
     CONTAINS(TITLE, ':1 AND :2', 1) > 0
    Both through the crossover so maybe its nothing to do with citations. I also tried to use single quotes when concatinating the sql in PHP. No joy :(

    CONTAINS the second parameter is a string, so you should concatenate your variables of two link with the chain AND:

    CONTAINS (TITLE,: 1 |) ' AND ' | (: 2, 1) > 0

  • Error when you use the substring function

    Hello
    I get the error while using this query below.

    Substr ("end". ASSET_NUM, instr (end of the day". ASSET_NUM, ' :') + 1).

    ([nQSError: 10058]) A general error occurred. [nQSError: 27002] Near <>(): syntax error [nQSError: 26012]. (HY000)

    Please help me...

    Published by: user10441472 on June 24, 2009 12:49

    Hello

    Try this

    Substring ('end of account'. ASSET_NUM (Evaluate (as an int, 'End', ' instr(%1,%2)'. ASSET_NUM,': ')) + 1, 50)

Maybe you are looking for

  • Facebook ask for enable cookies when I already did. Page is white and blue just link on the left-aligned words.

    Facebook appears on white background and text, some with links left alignment. allowed, history, cookies, cache, everything I searched on google. cookies are already enabled. all other websites are ok except fb. pls help.

  • wake random

    wake is random. click of a mouse, l ' screen then p is s "is waiting 10 sec reclic and it's good

  • How to detect the resource (find) information?

    Hi all I'm trying to detect programmatically information resource name for devices HSDIO PXI and PXI-4130.   How can I do?    System DAQmx property does not include these devices, and I can't find a way to convert a resource VISA name in name of reso

  • Pavilion P6000 Officejet: printing envelopes

    I use word Microsof Office 2013.  I followed the instruction I used on previous HP printers. The printer is not picking up envelope.   Instead it will pull the paper and print on paper

  • CD/DVD PLAYBACK

    I HAVE A PROBLEM WITH THE READ AND WRITE CD/DVD. EVERY TIME WHEN I PUT THE CD IN DRIVE NOTHING DON'T SE PAST AND IT SEEMS LIKE IT IS DISCONNECTED