SQL Query Single Row not working

My workflow contain a Query Single row activity. I have added a where clause in Arabic which is not working. If I remove the Arabic condition its working.
Is there something to do with the server?
My server is windows 2008 R2 Server.
The same workflow is running perfectly on another identical environment.
Thanks for any valuable suggestions,
Nith

Hi Sastry,
Connection to the database is trough Pivotal, I have tried ODBC connection as well but same error
The instruction at "0x005d53e0" refereced memory at "0x00000014'. The memory could not be "read".
With ODBC I have always compilation error saying
Query Engine Error: '42000:[Microsoft][ODBC SQL Server Driver][SQL server] Incorrect syntax near the keyword 'SELECT'. '.
but even the simple select statment is showing the error.
Do you think the error is with Drivers???
Regards
Stefan

Similar Messages

  • Nested SQL Query in CR10 not working

    Hi
    I have a SQL query See below but crashing CR
    SELECT     ax_Staff.ax_Name, ax_Staff.ax_Reference_Number, ax_Licence.Rn_Descriptor, ax_Licence.ax_Expiry_Date, ax_Department.ax_Name AS Department
    FROM         ax_Staff INNER JOIN
                          ax_Department ON ax_Staff.ax_Department_Id = ax_Department.ax_Department_Id LEFT OUTER JOIN
                          ax_Licence ON ax_Staff.ax_Staff_Id = ax_Licence.ax_Staff_Id
    Where ax_Staff.ax_Reference_Number not in (SELECT     ax_Staff.ax_Reference_Number
    FROM         ax_Staff INNER JOIN
                          ax_Licence ON ax_Staff.ax_Staff_Id = ax_Licence.ax_Staff_Id
    WHERE     (ax_Licence.Rn_Descriptor LIKE 'Driving Licence - Rider (R)'))
    ORDER BY Department, ax_Staff.ax_Name
    The query is working on MS SQL server 2005 and giving results as I want, but I have problem to recreate this in CR.Can anybody help how to creat the report???? where Looking for list of Staff who has no Particular Licence
    Sample of the report:
    GH1: Administarion
    GH2:  Peter Brown StaffID 4442 --- THIS Group IS OK to be on the list
    GH2:     John Smith StaffID 4444 -
    THIS whole GROUP NEEDS TO BE SUPPRESED or EXCLUDED
    Details:  Driving Licence Car (C)
      Details: Driving Licence Rider (R)   --this record passed condition
      Details: Driving Licence HR  (HR)                        
    GH2:  Julia Ng StaffID 4446 --- THIS Group IS OK to be on the list
    Details:  Driving Licence C
    I have 3 tables
    Department
    Staff
    Licence

    Hi Sastry,
    Connection to the database is trough Pivotal, I have tried ODBC connection as well but same error
    The instruction at "0x005d53e0" refereced memory at "0x00000014'. The memory could not be "read".
    With ODBC I have always compilation error saying
    Query Engine Error: '42000:[Microsoft][ODBC SQL Server Driver][SQL server] Incorrect syntax near the keyword 'SELECT'. '.
    but even the simple select statment is showing the error.
    Do you think the error is with Drivers???
    Regards
    Stefan

  • JDBC Query Single Row service Parse Query

    Using JDBC Query Single Row service on an Oracle database,
    I specify a SQL statement like this:
    select abc, to_char(aDate, 'MM/DD/YYYY') from xyz where def = 123
    then I click the "Parse Query" button to try to map the query results to my variables, but the mapping window gives me 3 fields instead of 2:
    1. abc
    2. to_char(aDate)
    3. 'MM/DD/YYYY'
    how do I let it understand that there are only 2 fields in the results so that I can map it properly?
    thanks

    Got a new minor issue unrelated to the above, but I don't want to flood this forum with another new topic, so I'll stick this new thing here.
    I have a very simple process that only contains this JDBC Query Single Row service.
    In this query single row service, at the bottom of the property sheet, there's a section where it says "number of rows retrieved"...
    now, if I map this 'number of rows' to a variable (I set the variable's type as "int"), when I call my process (as a web service), it returns me nothing... all the output parameters are empty.
    If I remove the mapping of "number of rows", that is, there's nothing in that bottom section. Then my process works correctly, all the output variables contain correct data from my database.
    Has anybody encountered this? what's your solution please?

  • ORA-29540: class oracle/xml/sql/query/OracleXMLStaticQuery does not exist

    I am getting below error when trying to generate xml. Browsing on google did not help me. I would appreciate if someone can provide the solution.
    SQL> select dbms_xmlquery.getxml('select * from dual', 2) from dual;
    ERROR:
    ORA-29540: class oracle/xml/sql/query/OracleXMLStaticQuery does not exist
    ORA-06512: at "SYS.DBMS_XMLQUERY", line 19
    ORA-06512: at "SYS.DBMS_XMLQUERY", line 271
    ORA-06512: at line 1

    Then it is probably not the case that you are affected by the issue described in Metalink document 185857.1, but if I were you I would check it anyway, since it might be the problem.

  • "SELECT SINGLE"  is not working.

    Hi all,
    here i have one report. And in this i want just one row when my input material number match with my table material number this time if movement type is 131 then program will be terminated otherwise it's working but this coding is not working properly so can you please help me out.
    My code is below .
    data : matnr1 LIKE mseg-matnr,
           bwart1 LIKE mseg-bwart.
    loop at mseg.
        SELECT SINGLE matnr bwart from mseg into (matnr1,bwart1) where matnr = matnr.
    endloop.
      if bwart1 = '131'.
                MESSAGE 'DATA NOT FOUND FOR THIS SELECTION1' type 'I'.
                SUBMIT ZPP_DAYWISE_MY_OWN VIA SELECTION-SCREEN AND RETURN .
                LEAVE PROGRAM.
       endif.
       CLEAR matnr1.
       CLEAR bwart1.

    there should be all key fields in where condition of SELECT SINGLE
    here in select which matnr you are passing? selection screen of mseg-matnr?
    loop at mseg.
    SELECTmatnr bwart from mseg upto 1 rows  into (matnr1,bwart1) where matnr = matnr. endselect.
    endloop.
    if bwart1 = '131'.
    MESSAGE 'DATA NOT FOUND FOR THIS SELECTION1' type 'I'.
    SUBMIT ZPP_DAYWISE_MY_OWN VIA SELECTION-SCREEN AND RETURN .
    LEAVE PROGRAM.
    CLEAR matnr1.
    CLEAR bwart1.
    endif.
    Edited by: Sachin Bidkar on Feb 23, 2010 7:12 AM

  • Query "magnifying" glass not working on forms - 1 workstation

    I have a single workstation that  has suddenly stopped showing the small magnifying glass that can be clicked and runs saved queries.   
    Example - we have a query that generates a new BP code - when you bring up the BP master data form it usually shows a magnifying glass - you click the magnifying glass and it populates the field with data.
    This is isolated to a single workstation, not a single user.
    Is there a local setting in the B1 software that may have accidently been turned off?  We also had a problem a week ago on this same workstation where usability package would not launch properly.  Our VAR deleted the temp folder which he said sometimes gets corrupted and it seemed to "fix" the issue.
    Any suggestions?  DNR B1 again?

    The temp files seemed to be corrupt...It made no difference in the pickers display or any of the other options - i was unable to delete files in the temp directory....I reloaded the workstation with a clean copy of windows and now all is operating normally.  FYI - the software is very picky about your .net framework...i was getting strange errors trying to connect to the SQL server until i had at least V2.xxx .net.
    Thank you to all for your response and help.

  • Hyperion Financial Reporting: Suppress Zero Data Row Not Work

    Hi Geniuses,
    The projects list report has sub-groups with subtotal rows. I put suppression on the data rows of projects based on whether it's X or Y; thus, all Ys are suppressed and only Xs remain. For a subgroup M, because M only has Y projects in it, so all data rows are suppressed; consequently, the subtotal row (formula row) of M is zero. However, even I put all the basic suppression on, the subtotal row still remains.
    PS: I used the formula Sum(row[x]) and [x] to sum in the subtotal row.
    Any idea how to suppress the subtotal row?
    Thanks a bunch!
    Dylan

    Hi Dylan,
    Could you try the following:
    In the conditional suppression for the calculated row, define to suppress the calculated row if the data values of row(rownumber/one of the input rows) are suppressed, i.e. referring to another row's value and suppression and not to values of the calculated rows.
    Choose a single input row for that not one which contains a range of members to test this. If such a row does not exist, insert a single row, which is representative in this circumstance, and hide it. I tried to reproduce your case, but it works with the simple suppression in my test, so not much help to you, of course. Sometimes it's an idea just to export the grid to a new report and start from the beginning with a limited example.
    Mr D.

  • Query level filter not working in Webi report

    Hi All,
    I am using BOXI R3.1 (SP3), m facing one problem when refreshing Webi report on daily basis. I am using three query level filter as a prompt, but i checked one filter is not working then i need to reapply this filter and rest 2 filter is working fine.
    Can anyone suggest me why problem is coming?
    Regards,

    Hi,
    Prompts are interactive, and come from the query panel. Filters are not interactive, and are set on the report or block. There are also input controls, which are interactive filters
    1. Select the universe in the list of universes to open the Query Panel.
    2. Drag the Year object to the Result Objects pane.
    3. Drag the Number of Guests object to the Query Filters pane and create a report filter that restricts Number of Guests to greater than n.
    4. Click Combined Query.
    The Combined Query pane appears in the bottom left of the Query panel with the two queries joined by UNION.
    5. Click on the second query and remove the Year and Number of Guests objects.
    6. Drag the Reservation Year object to the Result Objects pane.
    7. Drag the Future Guests object to the Query Filters pane and create a report filter that restricts the future guests to greater than n.
    8. Click Run Query.
    Best Regards
    Naveen

  • Highligh current row not working for classic report in 4.1

    Hello experts,
    One of our customers is migrating applications from APEX 3.0 to 4.1.
    All their applications use classic reports because interactive reports didn't exist in 3.0.
    The end users of the applications like the row color changing when they hover there mouse over the rows (highlight current row) and they insist on keeping this "functionality" in the applications.
    For some reason, this "functionality" doesn't work anymore after the migration to APEX 4.1.
    I thought it was something theme related so I created a new application with a classic report, tried some APEX built-in themes, and with none of them, I manage to get the highlight current row working.
    For interactive reports it is not an issue.
    Is this an undocumented no-longer-available feature of APEX 4.x or has there changed something which caused this functionality to stop working??
    Regards,
    Bart

    Hi,
    I created a service request for this issue, and the support analyst that helped me confirmed that this is a bug:
    "I have created the bug :
    Bug 13584762 - ROW HIGHLIGHTING NO MORE WORKS IN CLASSIC REPORT IN APEX 4.1
    While working on the problem , I have found the following solution in order to make the Row HighLightng work in APEX 4.1
    In the apex_4_1.min.js (file located in images\javascript ) , Search for :
    function setRowHighlight(a){apex.jQuery("#report_"+a+" .highlight-row").live("hover",function(b)
    and replace "hover" by "mouseover mouseout" :
    After the modification :
    function setRowHighlight(a){apex.jQuery("#report_"+a+" .highlight-row").live("mouseover mouseout",function(b)
    A refresh in the browser may be necessary in order to "reload" the file apex_4_1.min.js"
    I implemented the suggested workaround and this solved the problem!
    HTH,
    Matthias Hoys

  • Oracle 10.1.0.4.2 SQL Plus dbms_output.put_line not working

    I am using Oracle 10.1.0.4.2 SQL Plus, and dbms_output.put_line is not working. It returns the dbms_output ONLY from outside the procedure. I have dbms_output INSIDE my procedure, and none of it gets returned. Please help!
    Here is what I enter:
    set serveroutput on size 1000000;
    DECLARE
         x number:=0;
    begin
    DBMS_OUTPUT.ENABLE;
    c2reports.c2proc(x,'TEST');
    DBMS_OUTPUT.PUT_LINE('testX');
    END;
    testX
    There should be more besides the 'testX' that gets returned. The first line in my procedure has output code to print testY. Thanks in advance!

    This is the forum for the Oracle's SQL Developer (Not for general SQL/PLSQL questions). You should ask question like this in the PL/SQL forum

  • Front Row not working on new MacBook Pro

    Hello all,
    I cannot get Front Row to work on my new MacBook Pro. I've confirmed that my Apple Remote works using iChat's video preview to see the flashing IR transmitter. I've pressed Cmnd+esc also. I've even tried to double-click on the System >> Library >> CoreServices >> Front Row app to no avail. If someone could help me, I would appreciate it. Many thanks in advance.
    2.2 GHz Core2 Duo MacBook Pro   Mac OS X (10.4.10)   4 GB RAM

    Front Row doesn't usually open if you double-click the application in the CoreServices folder, so that's not unusual. The one troubleshooting step I might try, before calling AppleCare Support since your computer is new, would be to use the Accounts System Preferences to create a new user. Log out and log in as the new user. Can the new user open Front Row with command-esc or the remote? If so, then your original user has a preference file problem. If not, then you may need to re-install Front Row and/or Mac OS X. If your Mac is less than 90 days old, I'd call AppleCare Support and get some help from them to do that (also so they're made aware that a new computer required that in case there's an issue at the factory).
    -Doug

  • Oracle XSU: oracle.xml.sql.query.OracleXMLQuery is not recognized

    Hi, there!
    I've got a problem when tryed to use Oracle XSU (xml-sql utility to generate xml). My simple java application works fine using XSU. But when I created session stateless bean I've got an EJBException regarding this
    line:
    oracle.xml.sql.query.OracleXMLQuery qry = new oracle.xml.sql.query.OracleXMLQuery(conn, commandSQLStatement);
    It doesn't recognize OracleXMLQuery class as I've got in dump. So my classpath includes original location of that utility and Oracle parser.
    I really appreciate for any help.
    Thanks.
    strXML = qry.getXMLString();

    Patricia,
    Did you go through the link
    Re: XML SQL Utility
    You have to put xsu12.jar in the lib directory of the jdev.
    xsu12.jar is in the lib directory of the XDK installation.
    You can download XDK from
    http://www.oracle.com/technology/tech/xml/xdk/software/prod/xdk_java.html
    Just download the XDK kit, get the xsu12.jar from the lib directory and put in the lib directory of the jdev.
    -- Arvind

  • Passing Mutivalue Constant Query Filter is not working

    Hi All,
    I am using Webi4.0.On the Query panel when I try to pass multiple values to a constant filter it does not work.For example if I try to apply State filter in my Query and if I select Constant as its type and type A,B then Webi takes only A in the query and not B.
    I know it a simple task but however it is not working.
    Any help on this will be appreciated.
    Thanks in advance.

    Hi Riddhi,
    Can you pls put scrrenshot how you are passing multiple value to filter.
    ~Anuj

  • SQL Query Issue - (inner not passing to outer query)

    Hello everyone:
    Here is my SQL query:
    SELECT RD.SITE,
      ROUND(
      (SELECT COUNT (DISTINCT PB.EMP_ID)
      FROM BOOK PB
      WHERE PB.EMP_ID IN
        (SELECT PB.EMP_ID FROM BOOK PB
      (SELECT COUNT (DISTINCT PB.EMP_ID)
      FROM BOOK PB
      WHERE PB.EMP_ID IN
        (SELECT PB.EMP_ID FROM BOOK PB
    WHERE MO.QUALIFIER > 4
      )* 100, 2) AS PERCENTAGE
    FROM BOOK PB
    LEFT JOIN POSITION MO
    ON PB.EMP_ID = PO.EMP_ID
    INNER JOIN PHYS_LOCATION RD
    ON MO.HOUSED         = RD.SITE_ID
    WHERE MO.ACTUAL_END IS NULL
    GROUP BY RD.SITE;Why am I getting the overall percentage for all Sites as opposed to each percentage calculating for each individual site. I grouped by RD.SITE, so I presumed it would calculate percentages for each site. What did I do wrong?
    Thank you for your assistance.

    AquaNX4 wrote:
    Hello everyone:
    Here is my SQL query:
    SELECT RD.SITE,
    ROUND(
    (SELECT COUNT (DISTINCT PB.EMP_ID)
    FROM BOOK PB
    WHERE PB.EMP_ID IN
    (SELECT PB.EMP_ID FROM BOOK PB
    (SELECT COUNT (DISTINCT PB.EMP_ID)
    FROM BOOK PB
    WHERE PB.EMP_ID IN
    (SELECT PB.EMP_ID FROM BOOK PB
    WHERE MO.QUALIFIER > 4
    )* 100, 2) AS PERCENTAGE
    FROM BOOK PB
    LEFT JOIN POSITION MO
    ON PB.EMP_ID = PO.EMP_ID
    INNER JOIN PHYS_LOCATION RD
    ON MO.HOUSED         = RD.SITE_ID
    WHERE MO.ACTUAL_END IS NULL
    GROUP BY RD.SITE;Why am I getting the overall percentage for all Sites as opposed to each percentage calculating for each individual site. I grouped by RD.SITE, so I presumed it would calculate percentages for each site. What did I do wrong?Because that is what you are requesting. Your scalar subquery to get the percentage is not restricted by the current site. Add filter columns to restrict the selected values for the computation
    Edited by: riedelme on May 8, 2013 7:26 AM

  • XMII Query Selected tags not working

    I am using a query template for tag list against a UDS PI server and the "Selected Tags" dos not seem to wok. It retuns all tags or masked ones even when the check box "Use Group.Mask .....'  is unchecked.
    The UDS does not have groups since the alias tool  doesn't seem to allow wildcarding accomadating future tags.
    Product Version: 11.5.3 b66
    Thanks, Ed (for Shari)

    Hi,
    As Jeremy said, 'Use Group or Mask for Tag selection' is used for Current, History, HistoryEvent, and Statistics query modes. For namespace query modes such as TagList/GroupList it will not work. Please find the below link for you help:
    http://help.sap.com/saphelp_xmii115/helpdata/en/index.htm
    Hope it helps!
    Best Regards,
    Kedar

Maybe you are looking for

  • BOM Creation for different FG from 1 Raw material

    Hi Experts, In my company I have 1 scenario where Sheet is a Raw material. After doing operations in 1 sheet (RM) 10 Finished Product are produced. So please can anybody help me to create BOM for FG as from 1 same Sheet (RM) 10 different Fgs are prod

  • Maximize window in oracle forms

    Hi, I want to maximize the window (auto fit) in oracle forms 11g. In pre-form I use SET_WINDOW_PROPERTY(FORMS_MDI_WINDOW, WINDOW_STATE, MAXIMIZE); Still not working. I want my main form should be fit in browser. Please help... Thanks in advance. Edit

  • Is OS upgrade worth it?

    Hi all... I'm running OS 10.4.11 on my non-Intel dual 2.3 G5 silver tower w 2 gigs of RAM. Honestly, is it worth it for me to upgrade to 10.5? If "yes" then how far in updating should I go, since I seem to notice people having issues with 10.5.2? Tha

  • Lenovo A706 unlock screen results black screen

    Good day Lenovo Dev Team, I have a Lenovo A706 purchased last October 2013. I have this problem that when I unlock my phone it became in blank or black, or it became in inverted colors, or my screen have this vertical white lines all over the screen

  • 8530 - Running really badly for me

    Hey, i just got my blackberry curve about a year ago and just recently its worked really badly. when i go to check my phone it takes about 4 seconds for it to respond and turn the screen on.. i do not have it on lock. and when im texting it skips let