SELECT USING ISNULL FILTER

Post Author: Leonardo Jacques
CA Forum: Data Connectivity and SQL
Hi all,I'm trying to make a query using a ISNULL filter in ORACLE DB, but it's not working.See my SQL Query:SELECT (COUNT(PERSON.ID))FROM PERSONWHERE ISNULL({PERSON.BIRTH_DATE})Error: ORA-00911:invalid character Does anyone know what's wrong?Thanks a lot!!!!     

Post Author: Leonardo Jacques
CA Forum: Data Connectivity and SQL
The sintaxe to my query is not the same in Crystal Report and SQL PLUS.SQL PLUS
SELECT (COUNT(PERSON.ID))
FROM PERSON
WHERE PERSON.BIRTH_DATE IS NULL
It's working fine in SQL Plus.
See the same query in Crystal Reports.SELECT (COUNT(PERSON.ID))
FROM PERSON
WHERE ISNULL({PERSON.BIRTH_DATE})It's not working in Crystal.Error: ORA-00911:invalid characterDoes anyone know how to select the registers with null value???? Thanks a lot!!!

Similar Messages

  • How to use Hierarchy Filter Selection?

    Hi, experts !
    Could anyone give me a detail for how to use hierarchy filter selection ?
    When i locate a Hier filter selection in the template and execute it, a false info
    accured while filtering data,and the IE inferred the hier node object was missing.
    Then i add another hier filter in the same template, and the secend runs well, however the first one didn't.
    At last, i hide the first one, but the second one can't either.
    Help me !!!
    Thx in advance!

    Thanks Toja !
    Sorry to reply so late !
    The error is line: 51. error:'document.HIERARCHY_MENU_1.NODEID' is null or is not the object.
    The code on line of 51 says:document.HIERARCHY_MENU_1.NODEID.value = i_node;
    Could you please give me some documents on the topic of Hierarchy Filter Selection ?

  • DM Export Base Member Selection -- Need to Use a Filter

    Hi Experts,
    Posting a follow-up on this one.  Does anyone know how to run the Data Manager Export package when producing a (relatively) large data set?
    The challenge is that when running an Export, you'd want to chose all base-level members in some dimensions.  For example, you might select all Cost Centers in your Costing dimension and in the Data Manager member selector screen, you could simply filter for something like CALC=N or BAS(ALL CostCenters), etc.  ...However, once you click "OK", BPC will return to the Data Manager dialogue and tell you that you have chosen too many members for the dialogue and that you should use a Filter, or your member selections will be truncated.
    Also sometimes, you can see in the box the message " [FILTER:  MYFILTER] as this other user noted before (also unanswered question):
    [BPC Export data with filter]
    Thanks for any suggestions.
    Garrett

    Shot in the dark but worth noting...
    Do you have more than 1024 base entities? A common oversight is that your grid setting are set to display only 1024 rows (default) and you have to click on the down arrow in the HFM toolbar to view the next page of rows/entities. You can also increase the # of rows to display in a grid so as to display all rows on the same page.

  • Using a filter with selection?

    Hello, I am using CS6 extended with windows7 and am pretty new to Photoshop. What I am trying to do with a portrait image is use the Filter/Stylize/Diffuse/Anisotropic on everything but the face. I want to kee the face sharp but I love the effect the diffuse has on the hair and background. I've been messing around with this for a few days and haven't come up with a solution othe than cutting the selection of the face, applying the filter then pasting the face back on but because of the filter it leaves a grey edge at the cut line. I'm sure there is a simple process that I'm missing. Any help would be much appreciated:) Thank you for your time:)

    All you need to do is right click on your layer, and click "convert to smart object." Then apply the filter. You'll then see a little white box below your layer. This is known as a layer mask.  Click on the white box (layer mask) and paint over the area that you do not want filtered with a soft, black brush. Job done.

  • I want to use a filter liquifi and the nex pafe open whit a black screen in state of a picture that i select

    i'm not a good one in english i'm flemish so do it letter by letter please .
    if i want to use the filter liquifi open's a new page wat's normaly yes , but in stade of my picture i get a black screen  whats going wrong ?

    Does turning off »Use Graphics Processor« in the Performance Preferences and restarting Photoshop have any bearing on the issue?

  • How to use one Filter Pane to multiple Dataproviders

    Hi Experts.
    i have checked the threads on this but i did not get correct solution.
    we have issue in using single Filter pane web item in WAD for three different dataproviders ( three dataproviders have same free charecteristics and variable) charecteristics in row and keyfigures are different.
    thanks in advance.
    Regards
    Raj.

    Hi Gill,
    Thanks for your Quick responce.
    when we use the single filter pane, filter conditions are working for only first dataprovider (since data binding is to dataprovider 1. in affterted dataproviders i selected dataprovider 2 and 3, but filter pane is not active for other two dataproviders in tabs.
    thanks in advance.
    Any inputs please....
    Regards,
    Raj.
    Edited by: Rajsapbi on Apr 6, 2009 9:22 AM

  • Using ISNULL in CASE statement

    Hi,
    I need to write a query that will gimme the resultsets based on a data comparison with some values, Those values that are null in the result set needs to be replaced with an empty string which can be obtained using ISNULL function. My question here is,
    how to incorporate this in a SELECT statement that has CASE expression. I coded some thing like this but the result set for the column is returning zero instead of an empty string. The data type for this column ABC is varchar(10)
    SELECT top 20
    ABC
    ,CASE
    WHEN ABC IN (8,9,10,13,14,15,16,17,19,20,21) THEN 10
    WHEN ABC IN (31,32,33) THEN 30
    WHEN ABC IN (53,52,54,55) THEN 50
    WHEN ABC IN (61,62) THEN 60
    WHEN (ABC IS NULL AND DEF IS NOT NULL) THEN 99
    else ISNULL(ABC,'')
    END
    FROM XYZ
    Any help is appreciated
    Many Thanks,
    Bhanu

    SELECT top 20
    ABC
    ,CASE
    WHEN ABC IN (8,9,10,13,14,15,16,17,19,20,21) THEN '10'
    WHEN ABC IN (31,32,33) THEN '30'
    WHEN ABC IN (53,52,54,55) THEN '50'
    WHEN ABC IN (61,62) THEN '60'
    WHEN (ABC IS NULL AND DEF IS NOT NULL) THEN '99'
    else ISNULL(ABC,'')
    END
    FROM XYZ

  • Using a filter in RUN Allocation

    Does anyone know how to use a filter in the WHAT, WHERE clauses in RUN Allocation?
    I need to use something like WHERE=%STAT_ACCTS% AND [GROUP]<>"PL" but it dosen't work.
    On the contrary, is there a way to get the basemembers of a parent ID based on a filter?
    I could also use something like *XDIM_MEMBERSET ACCOUNT =BAS(STACCTS) AND [GROUP]<>"PL" but XDIM_MEMBERSET does not support conditions.
    Thanks in advance for help!

    Thanks for the replies... but my problem is still not solved... if either of the following could work that would solve this:
    a) have my xdim_memberset set to only those products which meet the condition [LEVEL]="seg" and are the bas members of the product i pick from the hierarchy. For this i would need a select statement which works like:
    *SELECT(%SKU%,[ID],"PRODUCT","[PARENTH1]=%PRODUCT_SET% AND [LEVEL]='SEG' ")
    OR
    b) a way to create a variable using xdim_filter that i can use anywhere else in my code
    c) put a condition in the WHERE clause of the allocation script so i could use something like:
    DIM PRODUCT WHAT=something; WHERE=BAS(%PRODUCT_SET%) AND [LEVEL]="SEG";
    but none of the above options are working

  • Incorrect result set with using isnull() function  in IQ 16

    Hi team,
    We have IQ 16 on HP UX.
    When we use isnull() function in where clause we get incorrect result set if we do not use column name in the result set.
    In first select we get result with one row but in second one we get an empty result set.
    select ID, dat_start, dat_end, dat_stop
    from table_test
    where ID=1105935925
    and isnull(dat_stop,dat_start) <> dat_end
    select ID
    from table_test
    where ID=1105935925
    and isnull(dat_stop,dat_start) <> dat_end
    It depends on number of row or volume of data in table, It is possible to use option Revert_To_V15_Optimizer to get the correct result.
    Do you have any different idea how to solve it?
    Thanks Milos.

    We have tested two versions:
    Sybase IQ/16.0.0.653/131122/P/sp03/ITANIUM/HP-UXi 11.31/64bit/2013-11-22 01:49:18
    SAP IQ/16.0.0.807/140507/P/sp08/ITANIUM/HP-UXi 11.31/64bit/2014-05-07 21:11:45
    Both versions have given same mistake.
    We have not opened any support case for this issue because it is data depended issue. It is not easy to simulate it as an example.
    Do you think we should open a support case for it?
    Miloš

  • Content Query not producing results when using [Me] filter

    Hi
    I'm using a Content Query web part and I'm trying to show the most recent document modified by each site user by applying it across the site collection and using the Filter, Modified By [_Hidden] equals [Me]. However, this doesn't seem to work for any user
    - the web part is always blank. I have tried different combinations such changing equals to contains, and using the Modified By field etc - nothing gives me the correct results. If I instead take the [Me] out and instead use the "people chooser"
    and set to a specific person then I seem to get the results I would expect - however I cannot hard code a given user.
    Does anyone know how to use [Me] correctly?
    Thanks

    Hi  sjb500,
    According to your description, please take steps as below to meet your demand:
    With the page layout open in Design view, double-click the Content Query Web Part.
    In the Content Query Web Part dialog box, click the plus sign (+) next to Query to expand it.
    In the Source section, click Show items from all sites in this site collection.
    In List Type section, in the Show items from this list type, click Document Library.
    In the Content Type section, in the Show items of this content type group list, click Document
    Content Types.
    In the Content Type section, in the Show items of this content type list, click Document.
    In the Additional Filters section, under Show Items When, click Modified By [_Hidden] in
    the first box, click Is Equal To in the second box, and then click [Me].
    In the Content Query Web Part dialog box, click the plus sign (+) next to Presentation to expand it.
    In the Grouping and Sorting section, in the Sort items by list, click Modified
    and Select Show items in descending order.
    Click OK.
    Reference:http://office.microsoft.com/en-us/sharepoint-designer-help/display-data-from-multiple-lists-with-the-content-query-web-part-HA010174134.aspx
    [Me] is a variable that stands for the user who is currently viewing the page that contains the Content Query Web Part in the browser.
    Here is some scenarios using [Me] in Content Query Web Part:
    http://social.technet.microsoft.com/Forums/en-US/346ffbe6-d7ba-467e-b7f5-6d6e289677a1/user-tasks-web-part
    Please inform me freely if you have any questions.
    Thanks

  • How to Use and Filter Table contents after execution of Bapi

    Can anybody guide me how to Use and Filter the table Contents which i got after successful execution of a Bapi
    I used Component Controller in my Project
    Ex: My table contains Redundant data for a single column but i want to display the column contents with out Redundancy
    Name
    Raghu
    Raghu
    Raghu
    Debasish
    Debasish
    I want to filter the table contents and i want to display the table with out Redundancy
    and Even when i am using a Dropdown i selected a Column  from a Table as the values for that Dropdown  but that table is having redundant data and the same data is getting displayed in that Dropdown i want the Dropdown to display data with out redundancy
    Thanks

    I also got that problem recently and after debuging for a while I figured out, that it was resulting from an error in my table's model: When the model received new items to display I
    1.) Fired an delete event for the old items
    2.) Fired an insert event for the new items
    Problem was that when firing the delete event I didn't already assigned the new items to the model. Therefore it had still the old row count.
    Maybe you have also a faulty table model?...

  • Filter data using choice filter in an infopath form

    Hi
    I have been trying to filter the values in an Infopath form using the choice filter, on a page in sharepoint 2013
    but full data of the list does not get displayed in the form exceot the first field.
    Please help how can i get data filtered data in the form according to the Account name i select in the filter.

    Hi,
    According to your description, the other field does not display data except the first field.
    Have you created rule for every field to set value based on the choice filter ?
    You need to set the condition based on the choice field and then set the datafield for control.
    Here is a detailed blog for your reference:
    http://blogs.msdn.com/b/infopath/archive/2010/05/06/sharepoint-list-data-connections-in-infopath-2010.aspx
    Best regards
    Patrick Liang
    TechNet Community Support

  • Build/call Query URL with selections using JavaScript???

    I have created a web query to list specific materials and each row has a checkbox for the user to select which materials they would like to work with.  Once they push the "Submit" button I have collected the materials they selected into a Javascript array. 
    I would now like to call a different query with the materials selected as a filter.  Can anyone show me how to build an URL to call the query and use the materials as a filter?  There could be 10 or 20 selected materials...
    Thanks for any direction you can provide!

    Hi,
    the form should look like this:
    <form action="<SAP_BW_URL>" method="post">
    <input type="hidden" name="CMD" value="LDOC"/>
    <input type="hidden" name="QUERY" value="yourQueryname"/>
    <input type="hidden" name="INFOCUBE" value="yourInfoCubename"/>
    <input type="hidden" name="FILTER_IOBJNM" value="0MATERIAL"/>
    <input type="checkbox" name="FILTER_VALUE_1" value="Mat1"/>
    <input type="checkbox" name="FILTER_VALUE_2" value="Mat2"/>
    <input type="checkbox" name="FILTER_VALUE_N" value="MatN"/>
    <input type="submit" value=" Submit "/>
    </form>
    form Method has to be post because of url length restriction!
    Heike

  • Photos that have been deleted to aperture trash cannot be viewed. Any assistance is welcome in fixing this bug. The showing all files option is selected in the filter. System is 10.8.4, aperture version 3.4.5

    Photos that have been deleted to aperture trash cannot be viewed. Any assistance is welcome in fixing this bug. The showing all files option is selected in the filter. System is 10.8.4. Aperture version 3.4.5. Used to be able to view the files then all of a sudden they have stop appearing. Once the aperture trash is emptied the files can be viewed in the system trash. Becomes quite annoying if you want to review the aperture trash files before deletion.

    Photos that have been deleted to aperture trash cannot be viewed  ...
    The showing all files option is selected in the filter.
    Cookiemonster, previously Frank Caggiano's magic helped in this situation - have you tried the double, double Caggiano as described here?
        Images not appearing in browser, search filter is cleared
    https://discussions.apple.com/docs/DOC-3062
    In the most recent version I cannot get this trick to work, however. But try it anyway, maybe it is just my macthat has an issue.
    Did this happen directly after the update? Where is your library located, on an external or an internal drive? Are your originals managed or referenced?
    I'd try next to check, if this is caused by the library, by creating a small test library and trying to trash pictures there. If it works well in a new library try to repair the database and the permissions on your regular library.  See:
    http://documentation.apple.com/en/aperture/usermanual/index.html#chapter=27%26se ction=10%26tasks=true
    Regards
    Léonie

  • "Using the Filter HUD to Search for Referenced Files" (and "Locate Referenced Files")

    I am trying to follow the Help Documentation item "Using the Filter HUD to Search for Referenced Master" (not sure if there is a way to post a URL to this) and I am not seeing what it is telling me to do.
    I am going to Edit > Find and it is telling me to "Click the Filter HUD button beside the search field in the Browser". Is this referring to a browser in the Aperture UI or is this in the Filter HUD display? I am not finding this.
    Also, it saying that in the Filter HUD I should "choose File Status from the Add Filter pop-up menu, and select the 'File Status' checkbox." and I am not seeing this either. Does anyone know where this is at?
    Lastly, I see that there is a command called File > Locate Referenced Files and when I run this I get a "No Referenced Files in the /current/ selection. I have realized that I don't quite understand whether I am running this search for a specific Project and/or whether I have to make a specific selection in the left hand pane when I run a FILTER HUD or whether this automatically defaults to search the whole database. Does it matter what I have selected in the current Browser View when I run either of these commands?
    Thanks for any help in my getting this working better for me.

    hotwheels 22 wrote:
    I am trying to follow the Help Documentation item "Using the Filter HUD to Search for Referenced Master" (not sure if there is a way to post a URL to this) and I am not seeing what it is telling me to do.  1
    I am going to Edit > Find and it is telling me to "Click the Filter HUD button beside the search field in the Browser". Is this referring to a browser in the Aperture UI or is this in the Filter HUD display? I am not finding this. 2
    Also, it saying that in the Filter HUD I should "choose File Status from the Add Filter pop-up menu, and select the 'File Status' checkbox." and I am not seeing this either. Does anyone know where this is at?  3
    Lastly, I see that there is a command called File > Locate Referenced Files and when I run this I get a "No Referenced Files in the /current/ selection. I have realized that I don't quite understand whether I am running this search for a specific Project and/or whether I have to make a specific selection {4}  in the left hand pane {5} when I run a FILTER HUD or whether this automatically defaults to search the whole database. Does it matter what I have selected in the current Browser View when I run {6} either of these commands? 7
    Thanks for any help in my getting this working better for me.
    1.  Just copy and paste the URL from the on-line User Manual.  Very helpful.  Are you on this page?
    2.  From the above-linked page:
    Show the Filter HUD by doing one of the following:
    Choose Edit > Find (or press Command-F).
    Click the Filter HUD button beside the search field in the Browser.
    The instructions specify ONE of the following.  Your question indicates to me that you are trying to do both.
    3.  The User Manual has used the wrong term here.  It should say "Choose 'File Status' from the 'Add RULE' pop-up menu."
    4.  The command -- like all commands? -- works on the currently selected Images.  On the same page in the User Manual it says:
    You can select a group of images in the Browser and Aperture can show a list of the referenced images within the selection, including information about where the masters are located. {Emphasis mine.}
    5.  The Aperture workspace is highly configurable.  I don't know what you mean by "the left-hand pane".  Of what?
    6.  Yes.  Of course it matters.  At some point in the 80's when the GUI became standard computers standardized on the "Noun→Verb" syntax:  Select object(s), select command(s).
    7.  Not sure what the second command to which your refer is.

Maybe you are looking for

  • PDF access issue with OHS WebGate

    Hi all, The architecture has OAM, OID, Documentum server. OID is used as user store for OAM. Documentum application is deployed in WebLOgic server. There is a OHS server front ending the WebLOgic server where we installed the webgate. We are protecti

  • 8500 All in One - touch screen not working

    One minute the touch screen with all it's functions was working fine and then, bam (!), the touch screen stopped working and I can't even use the one/off switch to power the unit off - it does not respond.  Funny thing is that the printer is still wo

  • Asyn Soap response

    Hi, I want to know how can we catpure the soap response in asyn soap receiver. I am not getting the error message in adapter monitoring.

  • How do I purchase a photo album?

    On iPhoto, I have built a photo album that I plan on purchasing. At the bottom of the screen, is a button that says "Buy Book". This button takes me nowhere and has no effect on anything. How do I purchase this album?

  • How to auto download a link with MP3 every week on the same time?

    Hi all, i found this website where weekly the radiostation that i listen to, posts the jazz show in mp3 format. The name of the link stays the same, is there a possibility on a mac or iphone, to weekly automatically save the content of that link, in