Data type mismatch in criteria expression. What am I not seeing??

Once again I'm stuck! I have included the query I'm trying to run below.  I have also indicated the data types of my fields.
<cfquery name="qGetOrders" datasource="manna_premier">
SELECT DISTINCT Count(ID) AS CountOfID,   - number
                             TMName,   -text
                             Sum(Quantity) AS SumOfQuantity,   - number
                             Count(NewExisting) AS CountOfNewExisting -number
FROM Users, Orders, ProductOrders
WHERE SaleDate BETWEEN #CreateODBCDate(FORM.Start)# AND #CreateODBCDate(FORM.End)#
GROUP BY UserZone, TMName
</cfquery>
When run it returns this error message....
Error Executing Database Query.
[Macromedia][SequeLink JDBC Driver][ODBC Socket][Microsoft][ODBC Microsoft Access Driver] Data type mismatch in criteria expression.
The error occurred in D:\Inetpub\mannapremier\zvp_report2.cfm: line 11
9 :                     Count(NewExisting) AS CountOfNewExisting
10 : FROM Users, Orders, ProductOrders
11 : WHERE SaleDate BETWEEN #CreateODBCDate(FORM.Start)# AND #CreateODBCDate(FORM.End)#
12 : GROUP BY UserZone, TMName
13 : </cfquery>
SQLSTATE
  22018
SQL
   SELECT DISTINCT Count(ID) AS CountOfID, TMName, Sum(Quantity) AS SumOfQuantity, Count(NewExisting) AS CountOfNewExisting FROM Users, Orders, ProductOrders WHERE SaleDate BETWEEN {d '2009-10-01'} AND {d '2009-10-31'} GROUP BY UserZone, TMName
VENDORERRORCODE
  -3030
DATASOURCE
  manna_premier
I use the where clause on several other pages and it works. I don't understand where my data type is mismatched.
Can anyone point me in the right direction?

4) If you indeed need to select from the 3 tables Users,
Orders, ProductOrders, then you should qualify the columns
names like this, Users.ID, productOrders.Quantity, and so
on.
You also need to join on the related columns. If you forget to do that the resultset will be a massive cartesian table (huge number of records):
rows in Table1 * #rows in Table2 * #rows in Table3

Similar Messages

  • Data type mismatch in criteria expression

    When i execute a sql i get the following message:
    java.sql.QDLExeption.......Data type mismatch in criteria expression...
    I use MS access.
    I use java.sql.Date to this format 04-09-2003
    I use boolean
    Is the date format correct?
    Is the boolean format correct?
    I try to debug for 3 hours and i didn't succeed..
    Thanks for any responses

    Try a couple of things:
    (1) Make sure that your Access database column type is Date for the columns you think it should be. Should the boolean column be type yes/no in Access? I'm not 100% sure, but that's my guess.
    (2) Use PreparedStatement, not Statement, if you aren't already. Set the variable values in your SQL using the setXXX() methods in PreparedStatement. That will make sure that all conversions are done properly.
    MOD

  • Help its really urgent.....Data type mismatch in criteria expression.

    hello everyone....
    I m trying to retrive an int value from Access database with query
    String query = "SELECT * FROM M_PROCESS WHERE PROCESS_NAME = '"+selected_process+"' ";
    Here selected_process is the string retrived from a JSP page using request.getparameter and it may retrive value with multiple spaces in it.
    i m able to retrive selected_process correctlly but when i call another servlet method to execute query with statement
    ResultSet rs = dbcon.execQuery(query);
    I get an error
    Error in connection in execution[Microsoft][ODBC Microsoft Access Driver] Data type mismatch in criteria expression.
    can anyone help.....
    note: the datatype of PROCESS_NAME is TEXT . dbcon is the object of servlet connection manager which is responsible for connection establishment and query execution.

    Hi Nix,
    If its an Interger value use "+xxxx+" if string then use ' " ++"'
    or else try to convert the string value to interger...
    it will work

  • Data type mismattch in criteria expression??

    Hi,
    I am trying to do a simple search engine.With the user entered filename and docType(what documents the user can see), i search my Document table for the record(s) that match.When i try to execute the sql, i got the following error.Anyone knows what i did wrong?
    SELECT * from Document WHERE Path = 'sorc1.jpg' AND DocumentType IN (1,2,3,4,5,6
    ,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,3
    4,35,36,37,38,39,40,41,42,43,44,45,46,47,48)
    java.sql.SQLException: [Microsoft][ODBC Microsoft Access Driver] Data type misma
    tch in criteria expression.
    [Document Database Record]
    DocNo,Name,Title,Date,Filename,DocumentType
    1,John,test,020903,sorc1.jpg 12
    2,Tom,test,020903,test.jpg 19
    [SearchServlet.java]
    ResultSet rs=null;
    SearchMgr mgr = new SearchMgr();
    rs=mgr.getDoc(filename,docType);
    [SearchMgr.java]
    public ResultSet getDoc(String filename,String docType){
    try
    ResultSet rs=db.ExecuteSQL(doc.getDoc(filename,docType));
    if ( rs.next() ){
         return rs;
    catch(SQLException e)
    System.out.println(e);
    return rs;
    [Document.java]
    public String getDoc(String filename,String docType)
    String queryString = "SELECT * from Document WHERE Path = '" + filename + "' AND DocumentType IN ("+docType+")";
    System.out.println(queryString);
    return queryString;
    }

    String queryString = "SELECT * from Document WHERE Path = '" + filename + "' AND DocumentType IN ('"+docType+"')";
    docType is a string, so u mean that i have to process this string to make it look this?
    "1","2","3","4","5","6","7"

  • Data type mismatch when inserting into text field

    Hello all,
    Using VB script and ASP.
    I have a page that inserts into a field (casenum) in a table (clientsw) in a database. The field (casenum) in the table is data type TEXT :
    I create a recordset and then an insert statement which the following is part of:
    Code to insert the casenum into the field
    rsClients("Casenum")=Right(Date(),2) & "E-100" & rsCasenumber("countervalue")
    It inserts a number like 09E-1004500
    I then have code that takes that string and passes it to the next page as a variable
    Session("UserID")=rsClients("CASENUM")
    response.redirect "done3.asp"
    When it gets to the next page it is assigned as UserID
    Dim svuserid
    svuserid = "0"
    if (Session("UserID") <> "") then svuserid = Session("UserID")
    %>
    My information inserts into the database exactly as I want it, but when it gets to the next page I get an error that is displayed that says the following:
    Microsoft JET Database Engine error '80040e07'
    Data type mismatch in criteria expression.
    /done3.asp, line 16
    My code on the second page is as follows:
    <%@LANGUAGE="VBSCRIPT"%>
    <!--#include file="Connections/connNewdatabase1.asp" -->
    <%
    Dim svuserid
    svuserid = "0"
    if (Session("UserID") <> "") then svuserid = Session("UserID")
    %>
    <%
    set rsClients = Server.CreateObject("ADODB.Recordset")
    rsClients.ActiveConnection = MM_connNewdatabase_STRING
    rsClients.Source = "SELECT *  FROM CLIENTSW WHERE CASENUM=" + Replace(svuserid, "'", "''") + "  ORDER BY CASENUM"
    rsClients.CursorType = 0
    rsClients.CursorLocation = 2
    rsClients.LockType = 3
    rsClients.Open()
    rsClients_numRows = 0
    %>
    Line 16 is the one that says rsClients.Open()
    If I take the concatenation out of rsClients("Casenum")=Right(Date(),2) & "E-100" & rsCasenumber("countervalue") and have only rsClients("Casenum")=rsCasenumber("countervalue") and change the table field to number, I don't get the "datatype mismatch error"
    What do I change to enable me to leave the above statement concatenated and insert into the table correctly and complete the stuff on the next page?

    >This is an access database, varchar is not an option for a datatype.
    Sorry. In another thread I thought you mentioned using SQL Server
    >I changed the + signed to ampersands instead and it doesn't make a difference.
    I didn't think that was the problem. I was just pointing out that it's a bad practice. If you use the '+' on two strings that can evaluate as numeric, it will actually add rather than concat them.

  • Data type mismatch problem

    Hello:
    I have an sql query that works just fine when I run it
    directly in Access but when I run it on a web site, it gives me an
    error "Data type mismatch in criteria expression".
    I am working with transactions and this is an update of a
    table within a transaction.
    Here is the code:
    con.execute "UPDATE tblWells SET API_Number='" &
    Request.Form("API_Number") & "', Well_Name='" &
    Request.Form("Well_Name") & "', Drill='" &
    Request.Form("Drill") & "', Reenter='" &
    Request.Form("Reenter") & "', horizontal='" &
    Request.Form("horizontal")& "', Duration='" &
    Request.Form("Duration") & "', OilWell='" &
    Request.Form("OilWell") & "', GasWell='" &
    Request.Form("GasWell") & "', Other='" &
    Request.Form("Other") & "', SingleZone='" &
    Request.Form("SingleZone") & "', MultipleZone='" &
    Request.Form("MultipleZone")& "', NumAcresLease='" &
    Request.Form("NumAcresLease") & "', LeaseSerialNumber='" &
    Request.Form("LeaseSerialNumber") & "', LeaseName='" &
    Request.Form("LeaseName") & "', WellNumber='" &
    Request.Form("WellNumber") & "', state='" &
    Request.Form("state") & "', county='" &
    Request.Form("county") & "', wellheadElevation='" &
    Request.Form("wellheadElevation") & "', groundElevation='"
    & Request.Form("groundElevation") & "', ProposedDepth='"
    & Request.Form("ProposedDepth") & "',
    DistanceTownPostOffice='" &
    Request.Form("DistanceTownPostOffice") & "',
    DirectionTownPostOffice='" &
    Request.Form("DirectionTownPostOffice") & "',
    Distance_Nearest_Property_Line='" &
    Request.Form("Distance_Nearest_Property_Line") & "',
    DistanceNearestWell='" & Request.Form("DistanceNearestWell")
    & "', UnitSpacing='" & Request.Form("UnitSpacing") & "'
    WHERE WellID=1"
    I can't figure why the query would work fine in Access and
    not on the webpage.
    Thanks.

    A Checkbox does not exist as a form value if it empty which
    is why your SQL
    script is failing. What you need to do is create a variable
    and then assign
    it with the value. Assuming you are using ASP then taking one
    element on
    your SQL statement
    SingleZone='" & Request.Form("SingleZone")
    you would change it to
    SingleZone = strSingleZone
    Above the actual start of your SQL statement you would define
    your variables
    and set their empty values, and then assign them to the form
    values
    Dim strSingleZone = 0
    if Request.Form("SingleZone") <> "" then
    strSingleZone = Request.Form("SingleZone")
    End if
    Paul Whitham
    Certified Dreamweaver MX2004 Professional
    Adobe Community Expert - Dreamweaver
    Valleybiz Internet Design
    www.valleybiz.net
    "zavidp" <[email protected]> wrote in
    message
    news:eo9554$dd0$[email protected]..
    > Okay, I have worked further. I have isolated the fields
    that are causing
    > trouble and they are checkbox fields.
    >
    > I have been pulling my hair out all day trying to figure
    out how to set
    > access
    > and asp so that the on/off, true/false or whatever is
    passed correctly.
    >
    > Can anyone help?
    >
    > Dave
    >

  • Data type mismatch while writing a code in BADi

    Hi Experts,
    While writing a code in BADi, I am facing data type mismatch.
    Scenario:
    I have created the Infospoke based on one ODS and inside BADi i am looking up the other ODS fields.
    Two ODS's having 4 common key fields but one key field having the data type mismatch.
    While selecting the data from other ODS table in where condition it's giving the error data type mismatch.
    Could you please advice the same please.
    Thanks.
    Gana.

    Any update please....
    Thanks in advance.
    Edited by: Gananadha Lenka on Jun 18, 2010 1:57 PM

  • Data Type mismatch in for all entries.

    Dear Friends,
    I have a problem...please advice me for that..... I m using code as following...actually the isse is when ever i am using
        WHERE docno = it_j_1iexchdr-rdoc (along with FOR ALL ENTRIES IN) the error is occured data type mismatch.
    becoz DOCNO is field of(j_1iexchdr) and RDOC is a character field of same table...but i want to get reference data..so i need to compare both field...u can undersdand my requirement in following coding.. Error line is denoted by (<----
      DATA: BEGIN OF it_j_1iexchdr OCCURS 0,
            bukrs LIKE j_1iexchdr-bukrs,               " Company Code.
            exnum LIKE j_1iexchdr-exnum,               " Excise Invoice No.
            exdat LIKE j_1iexchdr-exdat,               " Excise Invoice Dt.
            kunag LIKE j_1iexchdr-kunag,               " Sold-to-party
            kunwe LIKE j_1iexchdr-kunwe,               " Ship-to-party
            rdoc  LIKE j_1iexchdr-rdoc,
           rdoc  TYPE j_1iexchdr-docno,
            addldata1 LIKE j_1iexchdr-addldata1,       " Reason for Issueing Excise Invoice
            exbed LIKE j_1iexchdr-exbed,               " Excise Duty
            ecs   LIKE j_1iexchdr-ecs,                          " 2%Cess
            exaddtax1 LIKE j_1iexchdr-exaddtax1,       " Shec
            trntyp LIKE j_1iexchdr-trntyp,                   " OTHR
            END OF it_j_1iexchdr.
      DATA: wa_j_1iexchdr LIKE it_j_1iexchdr.
      DATA: BEGIN OF it_j_1iexchdr1 OCCURS 0,
            trntyp LIKE j_1iexchdr-trntyp,
           docno LIKE j_1iexchdr-rdoc,
            rdoc LIKE j_1iexchdr-rdoc,
            END OF it_j_1iexchdr1.
      DATA: wa_j_1iexchdr1 LIKE it_j_1iexchdr1.
    SELECT bukrs exnum exdat kunag kunwe rdoc
             addldata1 exbed ecs exaddtax1 trntyp
      FROM j_1iexchdr
      INTO CORRESPONDING FIELDS OF TABLE it_j_1iexchdr
      WHERE  bukrs IN v_bukrs
      AND   exdat IN v_exdat
      AND   trntyp = 'OTHR'.
    IF it_j_1iexchdr[] IS NOT INITIAL.
         SELECT trntyp docno rdoc
        FROM  j_1iexchdr
        INTO CORRESPONDING FIELDS OF table it_j_1iexchdr1
        FOR ALL ENTRIES IN it_j_1iexchdr
        WHERE docno = it_j_1iexchdr-rdoc  <----
    I
        AND   trntyp = 'DLFC'.
      ENDIF.
    Pl help me as soon as possible...
    Thanks & Regards,
    Swapnika Panse

    Hi,
    In table j_1iexchdr, there are two fields
    RDOC     J_1IRDOC1     CHAR     10      Reference Document 1
    DOCNO     J_1IDOCNO     NUMC     10      Internal Excise Document Number
    RDOC is of character type and DOCNO is of numeric type.
    Your declaration for fields is :
    docno LIKE j_1iexchdr-rdoc,
    rdoc LIKE j_1iexchdr-rdoc,
    And in the select query you are trying to fetch docno which is of type j_1iexchdr-rdoc. SO, change your declaration from
    docno LIKE j_1iexchdr-rdoc,
    to
    docno LIKE j_1iexchdr-docno,
    This should solve your problem.
    Thanks,
    Archana

  • SQL Insert Statement Data Type Mismatch Error

    I am doing a very simple web application that has a Microsoft Access database as the data source. I have been able to sucessfully create update and query statements using parameters but am having issues with an insert statement. I am using JSTL 1.1.2
    The following code creates the data type mismatch error.
    <sql:update
         sql="insert into tblTtoF(TFToolID,TFFeatID) values(?,?)">
            <sql:param value='$(ID}'/>
         <sql:param value='${feature}'/>
            </sql:update>The table has NUMBER as the data type for both of these fields and the variables I am feeding into it are both numbers. If I hard code the first number into the sql statement then it works. I have tried swapping the variables around and as long as the first one is hard coded the parameter for the second one works no matter which is first or second.
    However I can get the following code to work, which of course leaves me vulnerable to sql injection attacks which is not really a good thing.
    <sql:update>
         insert into tblTtoF(TFToolID,TFFeatID) values('<c:out value="${ID}"/>','<c:out value="${feature}"/>')
            </sql:update>So I am just looking for any suggestions as to why my first piece of code doesn't work seeing as it is the simplest of SQL statements and the most standard syntax.
    Thanks

    I changed it to the following
         <c:set var="featurenew" value="${0 + feature}"/>
         <c:set var="IDnew" value="${0 + param.toolID}"/>
              <sql:update
              sql="insert into tblTtoF(TFToolID,TFFeatID) values(?,?)">
              <sql:param value='$(IDnew}'/>
              <sql:param value='${featurenew}'/>
              </sql:update>And got the following error in the localhost.log
    31/07/2006 09:31:41 org.apache.catalina.core.StandardWrapperValve invoke
    SEVERE: Servlet.service() for servlet jsp threw exception
    java.sql.SQLException: SQL Exception : [Microsoft][ODBC Microsoft Access Driver]Optional feature not implemented
         at sun.jdbc.odbc.JdbcOdbcPreparedStatement.setObject(JdbcOdbcPreparedStatement.java:1437)
         at sun.jdbc.odbc.JdbcOdbcPreparedStatement.setObject(JdbcOdbcPreparedStatement.java:1072)
         at sun.jdbc.odbc.JdbcOdbcPreparedStatement.setObject(JdbcOdbcPreparedStatement.java:1063)
         at org.apache.taglibs.standard.tag.common.sql.UpdateTagSupport.setParameters(UpdateTagSupport.java:254)
         at org.apache.taglibs.standard.tag.common.sql.UpdateTagSupport.doEndTag(UpdateTagSupport.java:156)
         at org.apache.jsp.dataUpdated_jsp._jspx_meth_sql_update_1(dataUpdated_jsp.java:975)
         at org.apache.jsp.dataUpdated_jsp._jspx_meth_c_if_0(dataUpdated_jsp.java:879)
         at org.apache.jsp.dataUpdated_jsp._jspx_meth_c_forEach_0(dataUpdated_jsp.java:680)
         at org.apache.jsp.dataUpdated_jsp._jspService(dataUpdated_jsp.java:151)
         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:332)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
         at org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:833)
         at org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:639)
         at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1285)
         at java.lang.Thread.run(Thread.java:595)
    I have also tried the following in the past with no luck
    <fmt:parseNumber value="${ID}" type="number" var="IDnew"/>
    AND......
    <sql:query
       sql="select TFToolID from tblTtoF where TFToolID = ?"
       var="toolresults">
       <sql:param value="${ID}"/>
    </sql:query>
    <c:forEach var="getID" items="${toolresults.rows}">
         <c:set var="theID" value="${getID.TFToolID}"/>
    </c:forEach>
    AND when that didn't work, added this....
    <fmt:parseNumber value="${theID}" var="IDnew"/>

  • After importing images from my card using LR 5.4, the GPS data does not show in the metadata panel. However, when I look at the imported images using Bridge, the GPS data is visible. Anybody know why LR is not seeing the GPS data? Camera is Canon 6D.

    After importing images from my card using LR 5.4, the GPS data does not show in the metadata panel. However, when I look at the imported images using Bridge, the GPS data is visible. Anybody know why LR is not seeing the GPS data? Camera is Canon 6D.

    Ok, the issue seem to be solved. The problem was this:
    The many hundred files (raw and xmp per image) have been downloaded by ftp in no specific order. Means - a couple of files in the download queue - both raw and xmps. Most of the time, the small xmp files have been finished loading first and hence the "last change date" of these xmp files was OLDER than the "last change date" of the raw file - Lightroom then seem to ignore the existence of the xmp file and does not read it during import.(a minute is enough to run into the problem)
    By simply using the ftp client in a way that all large raw files get downloaded first followed by the xmp files, we achieved that all "last changed dates" of the xmp files are NEWER than the related raw files. (at least not older)
    And then LR is reading them and all metadata information has been set / read correctly.
    So this is solved.

  • How to access the Custom Data type variable given in Expression edit control To and From LabVIEW

    Hello, I would like to know how to access the custom data type variable given in the Espression Edit Control from LabVIEW and vice-versa
    Say, the FileGlobals.Reference_Handle (Custom Data Type Variable) contains the
    VISA I/O session (Which in turn contains VISA_DeviceName: String, Session: Number),
    Channel1: Number and
    Channel2: Number
    I am expecting the user to give FileGlobals.Reference_Handle as the input at the ExpressionEdit Control in the edit screen of the VI Call.
    I would like to know how to get the values of this custom data type to LabVIEW?
    Say, if I have the Cluster in LabVIEW like VISA I/O session (Deive Name and Session Number), Channel1 and Channel2
    how do i need to set this cluster to the Custom Data type variable in TestStand?
    Thanks and Regards
    Prakash 

    Hi,
    TestStand to LabVIEW: i didnt understand what you r trying to achieve. But if you are using references, Use Property nodes and Invoke nodes to achieve what you want in LabVIEW.
     LabVIEW to TestStand: check the image below: You need to click the button next to 'container'. I have used a cluster output in the VI.
    Hope this helps
    .......^___________________^
    ....../ '---_BOT ____________ ]
    ...../_==O;;;;;;;;_______.:/
    Attachments:
    1.JPG ‏187 KB

  • Error in activating Sqlscript Calculation view - Data type mismatch

    Hi All,
    I am trying to create a Calculation view using sql script. When I try to activate the calculation view I get the below error., Could you please help.
    Error
    Internal deployment of object failed;Repository: Encountered an error in repository runtime extension;Internal Error:Deploy Calculation View: SQL: transaction rolled back by an internal error: column store error: [34011] failed to save calculation scenario : The following errors occured: Inconsistent calculation model (34011)nDetails (Errors):n- CalculationNode (_ELECTION_ANALYTICAL_VIEW) -> attributes -> attribute (VOTE):
    Datatype int of VOTE does not match to datatype fixed18.0(9) in datasource.
    nnnSet Schema DDL statement: set schema "_SYS_BIC"nType DDL: create type "_SYS_BIC"."p1940328499trial.logesh.HanaElection/ELECTION_SQL_CA/proc/tabletype/VAR_OUT" as table ("VOTE" INTEGER, "NAME_1" VARCHAR(250), "NAME_4" VARCHAR(250))nProcedure DDL: create procedure "_SYS_BIC"."p1940328499trial.logesh.HanaElection/ELECTION_SQL_CA/proc" ( OUT var_out "_SYS_BIC"."p1940328499trial.logesh.HanaElection/ELECTION_SQL_CA/proc/tabletype/VAR_OUT" ) language sqlscript sql security definer reads sql data as  n /********* Begin Procedure Script ************/ n BEGIN n n election_analytical_view = CE_OLAP_VIEW("_SYS_BIC"."p1940328499trial.logesh.HanaElection/ELECTION_RESULTS_ANA",[VOTE,NAME,NAME_1,NAME_3,NAME_4]);n n var_out = CE_PROJECTION(:election_analytical_view,[VOTE,NAME_1,NAME_4]);nnnnEND /********* End Procedure Script ************/n
    SQL Script
    /********* Begin Procedure Script ************/
    BEGIN
    election_analytical_view = CE_OLAP_VIEW("_SYS_BIC"."p1940328499trial.logesh.HanaElection/ELECTION_RESULTS_ANA",[VOTE,NAME,NAME_1,NAME_3,NAME_4]);
    var_out = CE_PROJECTION(:election_analytical_view,[VOTE,NAME_1,NAME_4]);
    END /********* End Procedure Script ************/

    Hi Logesh,
    You have to use at least one aggregation while using CE_OLAP_VIEW. You can not use the same with out aggregation of at least on of the available measures .
    page 96 of SQL Script reference says
    Note you must have at least one <aggregation_exp> in the attributes.
    where
    <aggregate_exp> ::= <aggregate_func>(<aggregate_column> [AS <column_alias>])
    Specifies the required aggregation expression for the key figure.
    <aggregate_func> ::= COUNT | SUM | MIN | MAX
    Specifies the aggregation function to use. Supported aggregation functions are:
    ●count("column")
    ●sum("column")
    ●min("column")
    ●max("column")
    Sreehari

  • MetaData : Data Type Mismatch

    Hi,
    The metadata is returning me undesired results. I'm using Oracle 10g. Even though the column datatypes in table are numeric, its displaying VARCHAR2 in my java app. What could be the reason? This is happening for some tables only, not all. I'm lost.
    Message was edited by:
    rathorehr

    I'm using Oracle Thin driver, ojdbc14.jar. below are the inputs from manifest
    Manifest-Version: 1.0
    Specification-Title: Oracle JDBC driver classes for use with JDK14
    Sealed: true
    Created-By: 1.4.2_08 (Sun Microsystems Inc.)
    Implementation-Title: ojdbc14.jar
    Specification-Vendor: Oracle Corporation
    Specification-Version: Oracle JDBC Driver version - "10.2.0.1.0"
    Implementation-Version: Oracle JDBC Driver version - "10.2.0.1.0"
    Implementation-Vendor: Oracle Corporation
    Implementation-Time: Wed Jun 22 18:55:48 2005
    Name: oracle/sql/converter/
    Sealed: false
    Name: oracle/sql/
    Sealed: false
    Name: oracle/sql/converter_xcharset/
    Sealed: false

  • My IPad shows I have 1.1GB of mail and attachments. What am I not seeing? I have went into each account and deleted messages from all folders (inbox, sent and trash). It still shows that I have that much space used.

    I could really use some help. Probably an easy fix, but I can't seem to figure it ou. 

    Hello Kizzyk,
    I would start with taking a look at the settings to make sure that you are able to send and receive messages. If everything looks good then the next step would be to remove the accounts and add them back in. Take a look at the article below for more information and details on how to troubleshoot your issue further.
    Get help with Mail on iPhone, iPad, and iPod touch
    http://support.apple.com/en-us/TS3899
    Regards,
    -Norm G. 

  • I get do close that someone has to know what i;m not seeing

    i plug my ipod(5th gen, 60gb) into my pc(running windows xp pro) to restore it. my pc reads my ipod, has all info on it in th updater wondow, lets me select restore, begins restoreing process then reads "Firmware update failure. Disk write error" i'm thinking someone will now how to fix this please respond. thank for your time

    "Someone could at least say they don't know. "
    17 views is not a lot, and being that it is Christmas day, there are a lot of peopl posting here today that may be just browsing for a solution to their own problems and might not know the anser to yours. Eight minutes is not a lot of time to wait. (I'm not even going to mention the fact that you're asking about a non-apple product.)
    Also, it would be counterproductive to respond to a post with "I don't know". First, it would add unnecessary load to the Apple servers, second, any potential responders might then see that you have received a response and move on - without opening the thread and seeing that that response only said "I don't know". It would be a disservice to you, to Apple, and to these forums.

Maybe you are looking for

  • Yikes!  set selection in an explorer tree is hard!

    Okay, So I wrote an explorer-style tree (aren't you happy I'm not asking how to write one?) However- coming back in to this tree and re-selecting a directory, say from a history list, is hard!!! This tree uses a custom node that basically wraps a jav

  • Billing frustration

    I am extremely frustrated with my billing. I called in back in May to have my bill reduced. It was around $231 at the time. I went down to a 6GB plan - was told it would save me $30 - that my complete bill was $184.66 plus tax, per month. I received

  • Extracting unique records from two different tables record

    Hello, In the following code of two different tables www.testing.com exists in both tables. I want to compare two different columns of the two different tables to get unique records. SQL> select unique(videoLinks) from saVideos where sa_id=21; VIDEOL

  • Need help with Arrays please

    I keep getting nullPointerException in both the driver and the class for this program and I can't figure out what is causing it and the program won't run with it. We have not covered handling exceptions in class and are not to use anything that we ha

  • Can anyone name this plug-in?

    does anyone have any idea what this plug in is?