PROBLEM WITH THIS QUERY:URGENT

hi every body
this query works fine with an acces databse but it dosen,t work with the same database(the same model) in oracle it gives any error message while compiling or excuting but when i,ve tried it with pl/sql develloper(it's an oracle editor) it gives the folowing message:MISSING SET...
UPDATE T_ITEMBONCOMMANDE,TTT_BON_COMMANDE,TTT_PIECEMANUFACTURIER,TTT_PIECE_INVENTAIRE SET ttt_itemBONCOMANDE.quantiteretourne='" +app.trim()+"' WHERE TTT_PIECE_INVENTAIRE.PIECEMANUFACTURIER_ID=TTT_PIECEMANUFACTURIER.PIECEMANUFACUTIRIER_ID AND TTT_ITEMBONCOMMANDE.PIECEINVENTAIRE_ID=TTT_PIECE_INVENTAIRE.PIECEINVENTAIRE_ID AND TTT_BON_COMMANDE.bon_commande_id =TTT_ITEMBONCOMMANDE.boncommande_id AND TTT_PIECEMANUFACTURIER.NUMEROPIECE LIKE'" +NumPiece.trim()+"' AND TTT_ITEMBONCOMMANDE.boncommande_id LIKE '" +NumeroPO.trim()+"' AND TTT_ITEMBONCOMMANDE.quantiterecu -'"+app.trim()+"'>=0 "

UPDATE
T_ITEMBONCOMMANDE,TTT_BON_COMMANDE,TTT_PIECEMANUFACTURI
R,TTT_PIECE_INVENTAIRE SET
ttt_itemBONCOMANDE.quantiteretourne='" +app.trim()+"'
WHERE
TTT_PIECE_INVENTAIRE.PIECEMANUFACTURIER_ID=TTT_PIECEMAN
FACTURIER.PIECEMANUFACUTIRIER_ID AND
TTT_ITEMBONCOMMANDE.PIECEINVENTAIRE_ID=TTT_PIECE_INVENT
IRE.PIECEINVENTAIRE_ID AND
TTT_BON_COMMANDE.bon_commande_id
=TTT_ITEMBONCOMMANDE.boncommande_id AND
TTT_PIECEMANUFACTURIER.NUMEROPIECE LIKE'"
+NumPiece.trim()+"' AND
TTT_ITEMBONCOMMANDE.boncommande_id LIKE '"
+NumeroPO.trim()+"' AND
TTT_ITEMBONCOMMANDE.quantiterecu -'"+app.trim()+"'>=0
"a few things...
1) you seem to be updating multiple tables at once. i don't believe this is possible. if access let's you do it that's another matter. i
think you will need multiple statements to do what you are attempting.
2) SET ttt_itemBONCOMANDE.quantiteretourne='" app.trim()"' this
part of your query... ttt_itemBONCOMANDE should corresponde to some table name you have listed... i don't see it.
3) since you are only updating the one field why are you joining all these tables together anyway? maybe the table design needs work. i
realize this is not a programming comment but something looks awry here.

Similar Messages

  • Problem with this query

    Hi
    We are using this query
    SELECT ...........
    FROM TRIP JOIN TRIPEXTENSION ON TRIPEXTENSION.TRIPID = TRIP.TRIPID JOIN FOREIGNRECLOC ON FOREIGNRECLOC.TRIPID = TRIP.TRIPID JOIN CUSTSEGCONTROL ON CUSTSEGCONTROL.TRIPID = TRIP.TRIPID JOIN CUSTOMERCONTROL ON CUSTOMERCONTROL.CUSTOMERID = CUSTSEGCONTROL.CUSTOMERID JOIN CUSTOMER ON CUSTOMER.CUSTOMERID = CUSTSEGCONTROL.CUSTOMERID LEFT JOIN TRIPSEGMENT ON TRIPSEGMENT.TRIPSEGMENTID = CUSTSEGCONTROL.TRIPSEGMENTID LEFT JOIN TRIPSEGMENTEXTENSION ON (TRIPSEGMENTEXTENSION.TRIPSEGMENTID = TRIPSEGMENT.TRIPSEGMENTID AND TRIPSEGMENTEXTENSION.TRIPID = TRIP.TRIPID) LEFT JOIN TICKET ON CUSTOMERCONTROL.TICKETID = TICKET.TICKETID WHERE FOREIGNRECLOC.TRIPID IN (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?) AND ((TRIP.STATUS <> ? AND (CUSTSEGCONTROL.DELETEDITEM = 0 OR CUSTSEGCONTROL.DELETEDITEM is null )) OR (TRIP.STATUS = ?)) AND TRIPEXTENSION.EOTTIME = CUSTSEGCONTROL.EOTTIME AND TRIPEXTENSION.EOTTIME = CUSTOMERCONTROL.EOTTIME AND TRIPEXTENSION.EOTTIME = TRIP.EOTTIME
    It is taking long time to execute and causing timeout. The columns used in where clause are as follows
    FOREIGNRECLOC.TRIPID - PRIMARY KEY
    TRIP.STATUS - NO INDEX/CONTAINS LOW CARDINALITY DATA
    CUSTSEGCONTROL.DELETEDITEM - NO INDEX/CONTAINS LOW CARDINALITY DATA
    TRIPEXTENSION.EOTTIME/CUSTSEGCONTROL.EOTTIME/CUSTOMERCONTROL.EOTTIME/TRIPEXTENSION.EOTTIME - NO INDEX/CONTAINS HIGH CARDINALITY DATA
    Our 'experts' said something 'seriously' wrong with this query. Can anyone provide any suggestion/observation on this?
    thanks and regards,
    SUMIT

    Hi Devid
    Thans for your response. The result of explain plan is
    SQL> SELECT * FROM TABLE(dbms_xplan.display);
    PLAN_TABLE_OUTPUT
    | Id  | Operation                        | Name                      | Rows  | Bytes | Cost (%CPU)|
    |   0 | SELECT STATEMENT                 |                           |     1 |   592 |    51   (8)|
    |   1 |  TABLE ACCESS BY INDEX ROWID     | FOREIGNRECLOC             |     1 |    16 |     1   (0)|
    |   2 |   NESTED LOOPS                   |                           |     1 |   592 |    51   (8)|
    |   3 |    NESTED LOOPS                  |                           |     1 |   576 |    50   (8)|
    |   4 |     NESTED LOOPS                 |                           |     1 |   569 |    50   (8)|
    |   5 |      NESTED LOOPS                |                           |     1 |   511 |    49   (9)|
    |   6 |       HASH JOIN                  |                           |     1 |   397 |    42  (10)|
    |   7 |        HASH JOIN                 |                           |    11 |  3443 |    36   (9)|
    |   8 |         HASH JOIN                |                           |    13 |  3588 |    29   (7)|
    |   9 |          HASH JOIN               |                           |   327 | 51339 |    10  (10)|
    |  10 |           TABLE ACCESS FULL      | TRIP                      |   270 | 17820 |     3   (0)|
    |  11 |           HASH JOIN              |                           |   327 | 29757 |     7  (15)|
    |  12 |            TABLE ACCESS FULL     | TRIPSEGMENT               |   123 |  9225 |     3   (0)|
    |  13 |            TABLE ACCESS FULL     | TRIPSEGMENTEXTENSION      |   327 |  5232 |     3   (0)|
    |  14 |          TABLE ACCESS FULL       | CUSTSEGCONTROL            |  3180 |   369K|    19   (6)|
    |  15 |         TABLE ACCESS FULL        | CUSTOMERCONTROL           |  2658 | 98346 |     6   (0)|
    |  16 |        TABLE ACCESS FULL         | CUSTOMER                  |   464 | 38976 |     5   (0)|
    |  17 |       TABLE ACCESS BY INDEX ROWID| TRIPEXTENSION             |     1 |   114 |     7   (0)|
    |  18 |        INDEX RANGE SCAN          | EXTENSION_TRIPID_FK_INDEX |     7 |       |     1   (0)|
    |  19 |      TABLE ACCESS BY INDEX ROWID | TICKET                    |     1 |    58 |     1   (0)|
    |  20 |       INDEX UNIQUE SCAN          | SYS_C0011530              |     1 |       |     0   (0)|
    |  21 |     INDEX UNIQUE SCAN            | SYS_C0011533              |     1 |     7 |     0   (0)|
    |  22 |    INDEX RANGE SCAN              | TRIPSEGEXT_TRIPID_INDEX   |     1 |       |     0   (0)|
    Note
       - 'PLAN_TABLE' is old version
    32 rows selected.thanks and regars,
    SUMIT

  • Hi,I have a problem WITH THIS QUERY? ANYONE SOLVE THIS?

    (select (ISNULL((T0.PlannedQty-T0.CmpltQty)>=0),0) as 'PendingQty'

    Hi,
    Your expression is wrong because the isnull sql fuction contains two input arguments.
    The first must be a simple expression what could be a simple constant, variable, column or scalar function but couldn't be a condition!
    so, you can use the following two format:
    1. in the WHERE (or HAVING) section:
    (select (ISNULL((T0.PlannedQty-T0.CmpltQty),0))>=0) or simple:
    ISNULL((T0.PlannedQty-T0.CmpltQty,0)>=0
    2. in the SELECT section:
    select ISNULL((T0.PlannedQty-T0.CmpltQty,0) without any condition.
    Best regards,
    Csaba

  • Whats the problem with this query?

    Its doing huge sort operations and is throwing the following all the time.
    ORA-1652: unable to extend temp segment by 256 in tablespace
    Unable to figure out if I should be increasing the sort area size. I initially increased the TEMP space by 50% to 3 G and it still fails. Any recommendations ?
    SELECT distinct b.*,
    f.carrier_id
    FROM po a
    JOIN (SELECT c.asn_shipment_id,
    c.po_cd,
    c.po_ln,
    c.ve_cd,
    c.itm_cd,
    d.shipped_date,
    c.qty_shipped,
    d.transport_id
    FROM po_asn_line_interface c
    JOIN po_asn_interface d
    ON to_char (c.asn_shipment_id) = to_char (d.asn_shipment_id)
    WHERE c.stat_desc = 'ASN header invalid.'
    AND d.stat_desc = 'Single vendor error: 1User-Defined Exception'
    AND EXISTS (SELECT 1
    FROM po_asn_line_interface e
    WHERE c.po_cd <> e.po_cd
    AND to_char(c.asn_shipment_id) = to_char(e.asn_shipment_id))) b
    ON to_char (a.po_cd) = to_char (b.po_cd)
    JOIN po_ln f
    ON a.po_cd = f.po_cd
    AND f.ln# = b.po_ln
    WHERE a.stat_cd = 'O'
    AND NOT EXISTS (SELECT 1
    FROM po_ln$actn_hst e
    WHERE e.po_cd = b.po_cd
    AND e.ln# = b.po_ln
    AND po_actn_tp_cd in ('SVB', 'RCV'))

    Hi,
    The types of SQL statements that can cause database sorts to occur include the following:
    * ORDER BY
    * GROUP BY
    * SELECT DISTINCT
    * UNION
    * INTERSECT
    * MINUS
    * ANALYZE
    * CREATE INDEX
    * Joins between tables on columns that are not indexed
    Making sure that all foreign key columns are indexed will also help reduce sorting when tables are joined via primary and foreign key columns. See also if you can avoid use DISTINCT clause in your SQL statement.
    Cheers

  • Problem with a query with a BLOB data type

    Hi i've a problem with this query in 11g. R1
    SELECT
          LOGTIMESTAMP,
          LOGTIMEMILLIS,
          MSGID,
          XMLTYPE(MESSAGEBODY, nls_charset_id('AL32UTF8')).getClobVal()  as LLamada
    FROM
        vordel.AUDIT_MESSAGE_PAYLOAD,
        vordel.AUDIT_LOG_POINTS
    WHERE
        AUDIT_LOG_POINTS.LOGPOINTSPK = AUDIT_MESSAGE_PAYLOAD.MP_LOGPOINTSPK AND
        LOGTIMESTAMP between TO_TIMESTAMP('03-12-2011 00:00','DD-MM-YYYY HH24:MI') and  TO_TIMESTAMP('03-12-2011 12:00','DD-MM-YYYY HH24:MI')
         and filtertype = 'LogMessagePayloadFilter'
      and filtername like 'Log Llamada%'MESSAGEBODY: data type of the Column is BLOB
    throw this error after execute the query
    Error:
    ORA-31011: XML parsing failed
    ORA-19202: Error occurred in XML processing
    LPX-00200: could not convert from encoding UTF-8 to UCS2
    Error at line 1
    ORA-06512: at "SYS.XMLTYPE", line 283
    ORA-06512: at line 1

    Could you check the BLOB really contains UTF-8 encoded XML?
    What's your database character set?The BLOB contains UTF-8 Encoded
    and the database where i am connectes have AL32UTF8 character set, but my internal instance have "AMERICAN_AMERICA.WE8ISO8859P1"
    that is a problem?
    How could I change the character set of the oracle local client to the character set of the remote oracle data base?

  • Problem with af:query

    Hi,
    I have a problem with af:query. Here's what I do:
    1. create a VO, define view criteria
    2. drag and drop view criteria from data controls to an empty form, choosing query and table
    3. When I run the page and click any of the buttons, I get: "Because of inactivity, your session has timed out and is no longer active...."
    I see no exceptions in output window. What am I doing wrong?
    Here is my view defenition:
    <?xml version="1.0" encoding="windows-1250" ?>
    <!DOCTYPE ViewObject SYSTEM "jbo_03_01.dtd">
    <!---->
    <ViewObject
    xmlns="http://xmlns.oracle.com/bc4j"
    Name="EmployeesView"
    Version="11.1.1.49.49"
    SelectList="Employees.EMPLOYEE_ID,
    Employees.FIRST_NAME,
    Employees.LAST_NAME,
    Employees.EMAIL,
    Employees.PHONE_NUMBER,
    Employees.HIRE_DATE,
    Employees.JOB_ID,
    Employees.SALARY,
    Employees.COMMISSION_PCT,
    Employees.MANAGER_ID,
    Employees.DEPARTMENT_ID"
    FromList="EMPLOYEES Employees"
    BindingStyle="OracleName"
    CustomQuery="false"
    PageIterMode="Full"
    UseGlueCode="false">
    <DesignTime>
    <Attr Name="_codeGenFlag2" Value="Access|VarAccess"/>
    </DesignTime>
    <Variable
    Name="firstName"
    Kind="viewcriteria"
    Type="java.lang.String"
    DefaultValue="0"/>
    <EntityUsage
    Name="Employees"
    Entity="project3.Employees"
    JoinType="INNER JOIN"/>
    <ViewAttribute
    Name="EmployeeId"
    IsNotNull="true"
    PrecisionRule="true"
    EntityAttrName="EmployeeId"
    EntityUsage="Employees"
    AliasName="EMPLOYEE_ID"/>
    <ViewAttribute
    Name="FirstName"
    PrecisionRule="true"
    EntityAttrName="FirstName"
    EntityUsage="Employees"
    AliasName="FIRST_NAME"/>
    <ViewAttribute
    Name="LastName"
    IsNotNull="true"
    PrecisionRule="true"
    EntityAttrName="LastName"
    EntityUsage="Employees"
    AliasName="LAST_NAME"/>
    <ViewAttribute
    Name="Email"
    IsUnique="true"
    IsNotNull="true"
    PrecisionRule="true"
    EntityAttrName="Email"
    EntityUsage="Employees"
    AliasName="EMAIL"/>
    <ViewAttribute
    Name="PhoneNumber"
    PrecisionRule="true"
    EntityAttrName="PhoneNumber"
    EntityUsage="Employees"
    AliasName="PHONE_NUMBER"/>
    <ViewAttribute
    Name="HireDate"
    IsNotNull="true"
    PrecisionRule="true"
    EntityAttrName="HireDate"
    EntityUsage="Employees"
    AliasName="HIRE_DATE"/>
    <ViewAttribute
    Name="JobId"
    IsNotNull="true"
    PrecisionRule="true"
    EntityAttrName="JobId"
    EntityUsage="Employees"
    AliasName="JOB_ID"/>
    <ViewAttribute
    Name="Salary"
    PrecisionRule="true"
    EntityAttrName="Salary"
    EntityUsage="Employees"
    AliasName="SALARY"/>
    <ViewAttribute
    Name="CommissionPct"
    PrecisionRule="true"
    EntityAttrName="CommissionPct"
    EntityUsage="Employees"
    AliasName="COMMISSION_PCT"/>
    <ViewAttribute
    Name="ManagerId"
    PrecisionRule="true"
    EntityAttrName="ManagerId"
    EntityUsage="Employees"
    AliasName="MANAGER_ID"/>
    <ViewAttribute
    Name="DepartmentId"
    PrecisionRule="true"
    EntityAttrName="DepartmentId"
    EntityUsage="Employees"
    AliasName="DEPARTMENT_ID"/>
    <ViewCriteria
    Name="EmployeesViewCriteria"
    ViewObjectName="project3.EmployeesView"
    Conjunction="AND">
    <Properties>
    <CustomProperties>
    <Property
    Name="mode"
    Value="Basic"/>
    <Property
    Name="allowConjunctionOverride"
    Value="true"/>
    <Property
    Name="autoExecute"
    Value="false"/>
    <Property
    Name="showInList"
    Value="true"/>
    <Property
    Name="displayOperators"
    Value="InAdvancedMode"/>
    </CustomProperties>
    </Properties>
    <ViewCriteriaRow
    Name="vcrow24"
    UpperColumns="1">
    <ViewCriteriaItem
    Name="FirstName"
    ViewAttribute="FirstName"
    Operator="STARTSWITH"
    Conjunction="AND"
    UpperColumns="0"
    Required="Optional">
    <ViewCriteriaItemValue
    Name="EmployeesViewCriteria_vcrow24_EmployeeId_vcval0"
    Value=":firstName"
    IsBindVarValue="true"/>
    </ViewCriteriaItem>
    </ViewCriteriaRow>
    </ViewCriteria>
    <ViewLinkAccessor
    Name="EmployeesView"
    ViewLink="project3.EmpManagerFkLink"
    Type="oracle.jbo.RowIterator"
    IsUpdateable="false"/>
    </ViewObject>
    And JSF page:
    <af:panelGroupLayout layout="vertical">
    <af:panelHeader text="Employees">
    <af:query id="employeesViewCriteriaQueryId" headerText="Search"
    disclosed="true"
    resultComponentId="employeesViewCriteriaQueryResultId"
    value="#{bindings.EmployeesViewCriteriaQuery.queryDescriptor}"
    model="#{bindings.EmployeesViewCriteriaQuery.queryModel}"
    queryListener="#{bindings.EmployeesViewCriteriaQuery.processQuery}"
    queryOperationListener="#{bindings.EmployeesViewCriteriaQuery.processQueryOperation}"/>
    </af:panelHeader>
    <af:table value="#{bindings.EmployeesView1.collectionModel}" var="row"
    rows="#{bindings.EmployeesView1.rangeSize}"
    emptyText="#{bindings.EmployeesView1.viewable ? 'No rows yet.' : 'Access Denied.'}"
    fetchSize="#{bindings.EmployeesView1.rangeSize}"
    id="employeesViewCriteriaQueryResultId">
    <af:column sortProperty="EmployeeId" sortable="false"
    headerText="#{bindings.EmployeesView1.hints.EmployeeId.label}">
    <af:outputText value="#{row.EmployeeId}">
    <af:convertNumber groupingUsed="false"
    pattern="#{bindings.EmployeesView1.hints.EmployeeId.format}"/>
    </af:outputText>
    </af:column>
    <af:column sortProperty="FirstName" sortable="false"
    headerText="#{bindings.EmployeesView1.hints.FirstName.label}">
    <af:outputText value="#{row.FirstName}"/>
    </af:column>
    <af:column sortProperty="LastName" sortable="false"
    headerText="#{bindings.EmployeesView1.hints.LastName.label}">
    <af:outputText value="#{row.LastName}"/>
    </af:column>
    </af:table>
    </af:panelGroupLayout>
    Regards
    Jernej
    Message was edited by:
    Jernej Kase

    It also seems that quick queries don't work with SQL92 sqlBuilder.
    I get the following error:
    Messages for this page are listed below.
    Error     
    SQL error during statement preparation. Statement: SELECT Employees.EMPLOYEE_ID, Employees.FIRST_NAME, Employees.LAST_NAME, Employees.EMAIL, Employees.PHONE_NUMBER, Employees.HIRE_DATE, Employees.JOB_ID, Employees.SALARY, Employees.COMMISSION_PCT, Employees.MANAGER_ID, Employees.DEPARTMENT_ID FROM EMPLOYEES Employees WHERE (( ( ( UPPER(Employees.FIRST_NAME) LIKE UPPER(:vc_temp_1) ) OR ( ? IS NULL ) ) ) )
    Error     
    Missing IN or OUT parameter at index:: 2
    Is this a bug or this doesn't work by design?
    Edit: and if I create named query I get the following error:
    Caused by: oracle.jbo.NoDefException: JBO-25058: Definition fn of type Attribute not found in EmployeesView1
         at oracle.jbo.server.ViewObjectImpl.findAttributeDef(ViewObjectImpl.java:5634)
         at oracle.jbo.uicli.binding.JUSearchBindingCustomizer.getQuickSearchVC(JUSearchBindingCustomizer.java:847)
         at oracle.adfinternal.view.faces.model.binding.FacesCtrlSearchBinding.processQuery(FacesCtrlSearchBinding.java:222)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at com.sun.el.parser.AstValue.invoke(AstValue.java:151)
         ... 47 more
    I think just ran out of options...
    Message was edited by:
    Jernej Kase

  • Problem with update-query

    Hallo,
    i have a problem with following query. I wanna update the columns in the nutzung table. There are 7 columns but my query updates the geometry that in all columns is the same geometry or I can not update because the query gives more than 1 row in the subquery.
    update nutzung
    set geometrie=(SELECT F1840_GEOM FROM UG_F1840_GEOM,Nutzung WHERE NUTZUNG.OBJNR=UG_F1840_GEOM.F1840_OBJNR AND GETFEATUREID(UG_F1840_GEOM.F1840_FID) IN(SELECT MSLINK FROM FEATURE WHERE FCODE like '%0000'));
    Maybe I need the ug_f1840_geom table in the update query. Don't know how to change the query.
    Regards, Katrin

    hi it's me again .I am getting error for this
    statement
    if(numOfUsers>0)
    stmt.executeUpdate("update defaultchatrooms set
    s set nodename =
    '"+chatTopic+"'('"+numOfUsers+"')'");
    1. Your update string looks like this:
    update defaultchatrooms set nodename = 'someChatTopic'('0')'
    Does that look right to you?
    2. This will update the column nodename in every row in the table defaultchatrooms. Aren't you missing a "where" condition?

  • [Execute SQL Task] Error: Executing the query "DECLARE_@XMLA nvarchar(3000) ,__@DateSerial nvarch..." failed with the following error: "Incorrect syntax near '-'.". Possible failure reasons: Problems with the query, "ResultSet" property not set correctly,

    Hi
    DECLARE @XMLA nvarchar(3000)
    , @DateSerial nvarchar(35);
    -- Change date to format YYYYMMDDHHMMSS
    SET @DateSerial = CAST(GETDATE() AS DATE);
    --SELECT @DateSerial
    Set @XMLA = 
    N' <Batch xmlns="http://schemas.microsoft.com/analysis services/2003/engine">
     <ErrorConfiguration xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ddl2="http://schemas.microsoft.com/analysisservices/2003/engine/2"
    xmlns:ddl2_2="http://schemas.microsoft.com/analysisservices/2003/engine/2/2" xmlns:ddl100_100="http://schemas.microsoft.com/analysisservices/2008/engine/100/100" xmlns:ddl200="http://schemas.microsoft.com/analysisservices/2010/engine/200"
    xmlns:ddl200_200="http://schemas.microsoft.com/analysisservices/2010/engine/200/200">
    <KeyErrorLimit>-1</KeyErrorLimit>
    <KeyNotFound>IgnoreError</KeyNotFound>
    <NullKeyNotAllowed>IgnoreError</NullKeyNotAllowed>
     </ErrorConfiguration>
     <Parallel>
    <Process xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ddl2="http://schemas.microsoft.com/analysisservices/2003/engine/2" xmlns:ddl2_2="http://schemas.microsoft.com/analysisservices/2003/engine/2/2"
    xmlns:ddl100_100="http://schemas.microsoft.com/analysisservices/2008/engine/100/100" xmlns:ddl200="http://schemas.microsoft.com/analysisservices/2010/engine/200" xmlns:ddl200_200="http://schemas.microsoft.com/analysisservices/2010/engine/200/200"
    xmlns:ddl300="http://schemas.microsoft.com/analysisservices/2011/engine/300" xmlns:ddl300_300="http://schemas.microsoft.com/analysisservices/2011/engine/300/300">
     <Object>
     <DatabaseID>MultidimensionalProject5</DatabaseID>
     <CubeID>giri</CubeID>
     <MeasureGroupID>Fact Internet Sales</MeasureGroupID>
     </Object>
     <Type>ProcessFull</Type>
     <WriteBackTableCreation>UseExisting</WriteBackTableCreation>
     </Process>
      </Parallel>
    </Batch>';
    EXEC (@XMLA) At SHALL-PCAdventureWorksDw ;
     iam executive the    query when iam getting below error.
      [Execute SQL Task] Error: Executing the query "DECLARE
    @XMLA nvarchar(3000)
    , @DateSerial nvarch..." failed with the following error: "Incorrect syntax near '-'.". Possible failure reasons: Problems with the query, "ResultSet" property not set correctly, parameters not set
    correctly, or connection not established correctly. 
     how to solve this error;
     please help me

    What are you trying to do? What sort of data source is  SHALL-PCAdventureWorksDw?
    When you use EXEC() AT, I would execpt to see an SQL string to be passed to EXEC(), but you are passing an XML string????
    If you explain why you think this would work in the first place, maybe we can help you.
    Erland Sommarskog, SQL Server MVP, [email protected]

  • One more Problem with SAP query

    Hi All,
    I am having a problem with SAP query
    Execution of SAP query transaction is leading to Dump
    the dump says Field 'R01' contains no fields, syntax check on the program shows same error.
    When I tried regenerating the Query in SQ01
    " Query Specification cannot be use to generate list
    Ranked list contains only numeric fields
    Please help me

    Gianpiero Bucchieri wrote:
    > So its important to listening the following tables too: Faktura (invoice), Partner Role, Partnernumber and the requierements number. The table are EKKO EKPO AND VRKPA OR vbkd, but if I join this table the query doesn't listining any results. If I cancel this 3 or 4 table and I start the query, the listening are ok. 
    >
    I am not sure what business process you are describing here - is it some kind of third-party sales order? If so, your join is wrong.
    From VB E P, firled BANFN and BNFPO you can go to table EBAN, where in field EBELN you will find the number of the purchase order (if somebody already had an MRP+Me58 run over the PR) which will lead you to table EKKO, and EKPO.
    So what we have here (essentially is):
    VBAK -> VBAP -> VBEP -> EBAN -> EKKO -> EKPO
    But that only solves one of your problems - you still have a long way to go to get invoices, partner and partner roles into there and I am beginning to ask myself what exactly it is you want to evaluate.
    Care to explain?
    Edited by: Mylène Dorias on Apr 1, 2010 2:10 PM

  • Reporting designer - problem with insertin query

    hi, I have problem with inserting query into reporting designer, when i do it there occurs metadata error and the system write check query, but query is ok, there are no variables. Have you any idea whats the problem.
    thanx

    I had a similar problem after "upgrading" to SAPGUI 7.10, except my failure was in the BEx Analyzer. (We are still using BW 3.5 SP 18.)
    The solution I found was in SAP Note 1039191 which addresses this problem for both the Analyzer and the Query Designer, and includes a revised "wdbsPres.dll" file as a workaround. After downloading and installing this file, the problem was resolved.
    BTW, I have asked SAP when this will be fixed in a future FEP, but they have so far only given me a very ambiguous reply suggesting that I try it on another PC.
    Hope this helps...
    Bob

  • : "Invalid object name '#Temp'.". Possible failure reasons: Problems with the query, "ResultSet" property not set correctly, parameters not set correctly, or connection not established correctly.

     Hi   .
        I was creating the  pass the values t in temp tables  though s sis package vs2012 .
      First I was taken on executive SQL TASK.
     IN EXCUTIVE SQL TASK  . I was write the stored proce:
    Sp;
    reate  procedure  USP_GETEMP2333
    AS
    begin
    Select  eid,ename,dept,salary from emp
    end;
    create table #temp(eid int,ename varchar(20),dept varchar(20),salary int)
      insert into #temp
       exec USP_GETMP02333
       go.
     It was executive correctly.
     I was taken another sequence container. In the sequence container iam creating one   executive  sql
    In 2<sup>nd</sup> excutive sql task: sql statements is
    if object_id('emp_fact_sal') is not null
     drop table emp_fact_sal
    select eid,ename as emp_name,sal_bar=
    case when salary<=5000 then 'l'
    when salary >5000 and salary<=7000 then 'm'
    else
    'h'
    end
    into emp_fact_sal from #temp.
     and one falt flies  it was taken to designation .
     iam changing  all  connection properties:
     in oldeb connection:
    in excutive sal task properties .
    delay validation is true,
    and retain connection maner is also true,
    and package mode is 64 bit is false.
     But iwas excutive in 2<sup>nd</sup> excutive ql task .
    Iam getting this type of errors,
                    [Execute SQL Task] Error: Executing the query " if object_id('emp_fact_sal') is not null
     drop ta..." failed with the following error: "Invalid object name '#Temp'.". Possible failure reasons: Problems with the query, "ResultSet" property not set correctly, parameters not set correctly, or connection not established
    correctly.
     Please help me

    Arthur suggestion works but you shouldnt even be doing this on a SQL Task.
    Use a data flow task. You'll have better control over the data that is being transfered and get better performance because no staging table will be used.
    Just because there are clouds in the sky it doesn't mean it isn't blue. But someone will come and argue that in addition to clouds, birds, airplanes, pollution, sunsets, daltonism and nuclear bombs, all adding different colours to the sky, this
    is an undocumented behavior and should not be relied upon.

  • I  spend good money for my iPhone i have the iPhone 5 with the new charger slot which is smaller. I have been through at least 3 charging cords and this is not acceptable to me. i never had a problem with this on my older phone. apple needs to correct tho

    I  spend good money for my iPhone i have the iPhone 5 with the new charger slot which is smaller. I have been through at least 3 charging cords and this is not acceptable to me. i never had a problem with this on my older phone. apple needs to correct this and reimburse me for this cord.

    Charging cords are covered by the iPhone warranty or their own warranty
    if puchased separately. Take your iPhone and the cords to your local
    Apple store for evaluation and possible replacement.

  • A problem with this webpage caused Internet Explorer (IE9) to close and reopen the tab

    I have IE9 (using 32-bit version) installed on a relatively new laptop with Windows 7 64-bit. Up until last weekend IE9 worked fine and Flash Player worked fine too.
    At the weekend a webpage asked for Flash Player to be updated - which I did. Ever since then whenever I go to a webpage needing Flash Player I get the message "A problem with this webpage caused Internet Explorer to close and reopen the tab". This happens twice and then an IE9 error page.
    I have read the discussions in here about the problems with Flash Player 10.3 and have tried the various solutions. I have updated to 10.3.181.16 having tried 15 and 14 previously. Same problem.
    I have reset IE9. Same problem.
    I have disabled all add-ons which stops the problem. If I enable just the Flash Player add-on then the problem recurs. Since there are so many webpages that use Flash I do not want to run my browser without this add-on running.
    If I enable the add-on and run IE9 using software rendering instead of GPU rendering then I don't get the problem. However, this isn't exactly making the best use of the resources on my laptop.
    This may well all be related to the 10.3 problems but no one seems to have mentioned having a problem with tabs closing and reopening so I thought I would post on here to check.
    Any suggestions for how to solve this (other than using software rendering)?

    Thanks again for your reply. I appreciate the time you have taken to respond.
    I think, however, you misunderstand the problem. IE9 does not reopen the tabs on just one website - it is doing this on every website that needs Flash Player. Therefore, running in Compatibility mode is not an option. In fact, because IE9 reopens the tabs so quickly and then ends up with an error page, I cannot even click the Compatibility button anyway.
    I could use ActiveX filtering - true. All that this means is that Flash does not play on any of the websites. When I want to re-enable ActiveX for a particular website where I need to see the Flash Player item, this just triggers the error.
    This problem also happened on .14, .15 and well as the current .16 version. It did not happen with the previous version of Flash Player that I had on the system (version 10.2 I think).
    The fact is that either Flash Player or IE9 or both is/are broken. The two choices I am still left with are:
    1. Use software rendering (which contradicts the latest advertisements for IE9 about unleashing the power of IE)
    2. Use another browser - I have no problems with either Firefox or Chrome

  • I am trying to install iTunes on my PC, but I get this error: "There is a problem with this Windows Installer package. A DLL required for this install to complete could not be run. Contact your support personnel or package vendor." Help!

    I am trying to install iTunes on my PC (using Windows 8.1), but I get this error: "There is a problem with this Windows Installer package. A DLL required for this install to complete could not be run. Contact your support personnel or package vendor." The iTunes file (64-bit) I am trying to install, is named "iTunes64Setup.exe". What seems to be the problem? Help!

    Hey madnest,
    Thanks for the question. After reviewing your post, it sounds like you are having difficulty installing iTunes in Windows. I would recommend that you read this article, it may be able to help you resolve or isolate the issue.
    Issues installing iTunes or QuickTime for Windows
    Thanks for using Apple Support Communities.
    Have a nice day,
    Mario

  • I keep getting the following error message when I try to update my itunes, "There is a problem with this windows installer package. Aprogram run as part of the set up did not finish as expected.  Contact your support personnel or package vendor."

    I keep getting the following error message when I try to update my itunes, "There is a problem with this windows installer package. Aprogram run as part of the set up did not finish as expected.  Contact your support personnel or package vendor."

    Yes, I had found a similar solution also.  I'm running XP Pro, SP3.  I went Control Panels/ Add-Remove programmes/apple software update/ change/ repair.  Then run the 10.5 exe.
    While the programme updated from version 8 of iTunes, my new iTunes is now a mess.  Not all of my music was in the same folder previously but it all showed up on iTunes.  Now many albums have been left out, some have only a few tracks and some have two copies of some tracks as well as having other tracks missing.  I haven't begun to work on that.

Maybe you are looking for

  • Problem installing Photoshop Elements 10 on Windows 7 PC

    When I installed Disc 1 of Photoshop Elements 10 on my PC laptop running Windows 7, the prompt came to insert Disc 2. Disc 1 would not eject. I restarted the computer to get Disc 1 out. When I inserted Disc 2, the installer would not accept the seria

  • Iphoto pics are fuzzy

    HELP! I'm uploading my iphoto pics to other greeting card supplier. My pics look fab in iphoto but when uploaded they are not of quality recommended for printing. They appear fuzzy and won't be accepted for printing. I've considered using iphoto gree

  • How to get a doc//literal web service with JWSDP1.3

    I can build a rpc/encoded service (based the tutorial), but I need a doc/literal. Because I have a J2ME client. How can I do it? thanks

  • How can I put a changing image on my video?

    I am going through videos of lectures and I would like to display the slide on each page. How I plan to do this is by placing a PNG over or next to the video. However, when the slide changes, I have to change the PNG. How do I make it so that the PNG

  • CFCHART (Pie)

    Hey, I know that there is a way to do this so.. I need to rotate my pie chart.. not what you are thinking.. the 3d rotate, not like that. I need the chart's pie slice to start at 12 noon, then fill in to 1pm, see what I mean? right now, my pie chart