Errors while Importing SQL into Discoverer

Hi,
I am trying to import the following query in Discoverer and getting the error: "No appropriate join found in EUL (possible missing mandatory filter in SQL)". Can someone assist me with this....
select count(*),
a.resort,
b.some_date
from reservation a,
(select to_date('12/01/06','MM/DD/YY') + rownum - 1 some_date from contp where rownum <= 8) b
where decode(checkin_dt,null,arrive_dt,checkin_dt) <= b.some_date
and decode(checkout_dt,null,depart_dt,checkout_dt) > b.some_date and res_typ in ('I','C','Z') group by a.resort, b.some_date
order by a.resort, b.some_date;
Thanks,
~Kash

I appreciate the solutions and here is what I have tried:
1) It does work in SQL (Toad)
2) I have refreshed all the Business Areas
3) I tried creating it internally in Discoverer but it seems complexed and dont how to
Here is another query that I was trying and getting the error "Attemp to Open Workbook failed":
select count(*), resort, res_typ
from res.rs_reservation
where decode(res_checkin_dt,null,res_arrive_dt,res_checkin_dt) <= '01-DEC-06'
and decode(res_checkout_dt,null,res_depart_dt,res_checkout_dt) > '01-DEC-06'
and res_typ in ('I','C','Z') group by resort, res_typ;
Please advise...
~Kash

Similar Messages

  • Error while importing data into Oracle 11gr2 with arcsde 9.3.1

    I am getting error while importing the data into oracle 11g r2. We are using arcsde 9.3.1
    It seems to be having some problem with spatial index creation.
    kindly help
    IMP-00017: following statement failed with ORACLE error 29855:
    "CREATE INDEX "A3032_IX1" ON "DGN_POLYLINE_2D" ("SHAPE" ) INDEXTYPE IS "MDS"
    "YS"."SPATIAL_INDEX""
    IMP-00003: ORACLE error 29855 encountered
    ORA-29855: error occurred in the execution of ODCIINDEXCREATE routine
    ORA-13249: internal error in Spatial index: [mdidxrbd]
    ORA-13249: Error in Spatial index: index build failed
    ORA-13249: Error in spatial index: [mdrcrtxfergm]
    ORA-13249: Error in spatial index: [mdpridxtxfergm]
    ORA-13200: internal error [ROWID:AAAT5pAA9AACIy5AAQ] in spatial indexing.
    ORA-13206: internal error [] while creating the spatial index
    ORA-13033: Invalid data in the SDO_ELEM_INFO_ARRAY in SDO_GEOMETRY object
    ORA-06512: at "MDSYS

    Guys,
    I am also getting the same error and also my issue is like I am not even to analyze for which indexes I am getting error. It does not hve any indx name before error.
    Processing object type DATABASE_EXPORT/SCHEMA/TABLE/INDEX/DOMAIN_INDEX/INDEX
    ORA-39083: Object type INDEX failed to create with error:
    ORA-29855: error occurred in the execution of ODCIINDEXCREATE routine
    ORA-13249: internal error in Spatial index: [mdidxrbd]
    ORA-13249: Error in Spatial index: index build failed
    ORA-13249: Error in spatial index: [mdrcrtxfergm]
    ORA-13249: Error in spatial index: [mdpridxtxfer]
    ORA-29400: data cartridge error
    ORA-12801: error signaled in parallel query server P000
    ORA-13249: Error in spatial index: [mdpridxtxfergm]
    ORA-13200: internal error [ROWID:AA
    ORA-39083: Object type INDEX failed to create with error:
    ORA-29855: error occurred in the execution of ODCIINDEXCREATE routine
    ORA-13249: internal error in Spatial index: [mdidxrbd]
    ORA-13249: Error in Spatial index: index build failed
    ORA-13249: Error in spatial index: [mdrcrtxfergm]
    ORA-13249: Error in spatial index: [mdpridxtxfer]
    ORA-29400: data cartridge error
    ORA-12801: error signaled in parallel query server P002
    ORA-13249: Error in spatial index: [mdpridxtxfergm]
    ORA-13200: internal error [ROWID:AA
    ORA-39083: Object type INDEX failed to create with error:
    ORA-29855: error occurred in the execution of ODCIINDEXCREATE routine
    ORA-13249: internal error in Spatial index: [mdidxrbd]
    ORA-13249: Error in Spatial index: index build failed
    ORA-13249: Error in spatial index: [mdrcrtxfergm]
    ORA-13249: Error in spatial index: [mdpridxtxfer]
    ORA-29400: data cartridge error
    stack cnt....
    How can I find for which indexes it is failing?
    Thank you,
    Myra

  • Importing SQL into Discoverer?

    I've converted an Access application (35 tables and 150 queries) to Oracle. Is there any way to import or 'cut and paste' the SQL into Discoverer? I don't like to think I have to do each by hand.

    In discoverer plus in file options you can see
    Import Sql click this it will prompt you to give the name of sql file
    here you can give the name of the sql file containing the sql query.

  • Error while importing Rules into CC5.2

    Gurus,
    Part of our GRC go live, I have been trying to import Rules from the Development CC system to Q CC. I have followed all the steps as per the Admin tasks but the below error is coming up at the final step to import rules in to the desitnation system. Anyone have any idea what this error is? Help is greatly appreciated.
    Error in Table Data ==>VIRSA_CC_AUTHMAP
    SQL:=>Insert into  VIRSA_CC_AUTHMAP(AUTHKEY,SEQUENC,VSYSKEY,AUTHTREE) Values(?,?,?,?)
    Record:=>D VIRSA_CC_AUTHMAP 1 1 null 
    Thanks.

    All -
    I am having a similar issue when importing rules into RAR5.3. The syntax looks to be correct, but I am still hitting an error:
    Error in table dataVIRSA_CC_AUTHMAP
    SQL:=>Insert into  VIRSA_CC_AUTHMAP(AUTHKEY,SEQUENC,VSYSKEY,AUTHTREE ) Values(?,?,?,?)
    Record::Line Number :22534 : D VIRSA_CC_AUTHMAP 57 1 ECD150 P_PYEVDOC||ACTVT
    Your help would be greatly appreciated!

  • Error while importing CSR into key storage?

    Dear All,
    I am trying to implement the SSL certificates on our production server. I have generated the CSR from Visual Admin --> Key Storage. I forwarded it to CA and got the certificate response also. Now while importing the certificate into key storage, it is giving me following error:
    The private ket pair doesnt match the certificate response file: Invalid PKCS#1 padding, no leading zeros.
    What can be the cause and probable solution on this issue? Any help on this will be highly appreciated. Kindly reply..
    Thank you,
    Ameya

    Hi,
    I resolved this error by making it sure that there are no extra spaces or unwanted caracter copied while copying the certificate response from the CA. Make sure you are copying the certificate response properly. In my case, some extra space was getting copied so after re-copyinf it properly, it worked.

  • Error while Importing Metadata into DAC Repository

    Hi,
    After the successful first time login into DAC and creating repository, when I try to import metadata into DAC repository.
    DAC > Tools > DAC Repository Management > Import
    I don't see any Applications listed under "Application List"
    Can anybody suggest the troubleshooting steps for this?
    Regards,
    Jitendra

    If this is the first time that you are importing make sure that the directory you are importing from is like this -
    C:\OBIEE\OracleBI\DAC\export
    If this is not the first time then
    Can you go inside the following directory
    C:\OBIEE\OracleBI\DAC\log
    and check for export.log - Look for Applications Section, if you have any application then you had exported it and you should see it under the applications tab when importing otherwise you don't !!Since its an xml file that is generated i believe you have not exported by selecting the applications yo want and that is your problem.
    Hope this helps !!
    Cheers,
    Sid

  • Error while Importing SQL Table's Metadata

    Hi
    I am creating an External defination of category "dbtab". when i try to import the table in 3rd step i get this error.
    "Error occurred while attempting to connect to database".
    I checked the JDBC channel, in the channel getting this error "Error processing request in sax parser: Error when executing statement for table/stored proc. 'metadataRequest' (structure 'statement'): java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC]Can't start a cloned connection while in manual transaction mode."
    Please help

    Hi,
      Check this discussion.
    Re: JDBC Channel : Connection reset
    Also try setting AutoCommit = true (Check box in the JDBC adapter)
    Regards,
    Ravi Kanth Talagana
    Edited by: Ravi Kanth Talagana on Oct 27, 2009 11:07 AM

  • CTS+ : Error while importing transport into Portal QA system

    Hi All,
    we have configured CTS+ for Portal systesms, then we have created a
    test transport in Portal Development system (PD5). SOlution manager is the communication systesm. We are also able to release this transport from transport organizer web UI.
    This tranpsort is available in transport queue of Portal Qua system , but on importing this transport in PQ7 we are getting following
    error
    Problem during file access, stopping. Error is:'The file (/usr/sap/trans_SM/data/PD5K900003/Test_CTS_20110215_031956.epa) does
    not exist on the filesystem.'.
    We have checked in /usr/sap/trans_SM/data/PD5K900003/ file
    Test_CTS_20110215_031956.epa exist.
    CTSDEPLOY and sap.com/com.sap.tc.di.CTSserver connection are working fine.
    Kindly suggest.
    Regards,
    Akhilesh

    Error is
    puhi078:sp5adm 54> more PD5T900003.PQ7
    59y0C1 ETP199X######################################
    1 ETP189 DEPLOYMENT
    1 ETP101 transport order     : "PD5K900003"
    1 ETP102 system              : "PQ7"
    1 ETP108 tp path             : "tp"
    1 ETP109 version and release : "372.04.71" "701"
    1 ETP198
    2 EPU601X"CTS Import Service - Version 0.94" "04.04.2008" " " " "
    2 ETW000 ========================================================================
    2 EPU601 "Deploy web service destination =" "CTSDEPLOY" " " " "
    2 EPU601 "Directory =" "/usr/sap/trans_SM/data" " " " "
    2 EPU601 "SDM Deploy URL =" "http://cqhepad1.contact-energy.co.nz:50018" " " " "
    2 EPU601 "SLD Deploy URL =" " " " " " "
    2 EPU601 "XI Deploy URL =" " " " " " "
    4 EPU607 Non-ABAP system "PQ7" (communication system "SP5")
    1 ETW000 Start import with id:4D5ADEC1C8D6540AE10000000ACE01D3
    4 ETW000 DeployProxy (patch level:0) called with following parameters:
    4 ETW000 Deployable(0)
    4 ETW000 Deployable-Type:0
    4 ETW000 Deployable-Id:4D5A0D6A05111633E10000000ACE01D3
    4 ETW000 Deployable-TransportContainerId:PD5K900003
    4 ETW000 Deployable-ContentLocator:/usr/sap/trans_SM/data/PD5K900003/Test_CTS_20110215_031956.epa
    1EETW000 Problem during file access, stopping. Error is:'The file (/usr/sap/trans_SM/data/PD5K900003/Test_CTS_20110215_031956.epa) does not
    1EETW000 exist on the filesystem.'.
    3 ETW000 End import with returncode:'12'
    4AEPU601 "Highest Return Code =" "12" " " " "
    1 ETP189 DEPLOYMENT

  • Getting error while importing security into the 11.1.2 for the planning?

    The error is Invalid membertype found in the File
    The below one is the group need to assign the access to webform
    HP_VSPCorp_Abby_Lionti_Group,Mill- Input Forms,READWRITE,MEMBER,SL_Form
    the following syntax we run for the exporting in cmd
    G:\oracle\middleware\user_projects\epmsystems2\planning\planning1>ImportSecurity.cmd "App, Userid,SL_comma,1"
    Any suggestions pls
    Thanks in Advance
    Rami Rami

    It should be SL_FORM
    It is case sensitive
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Error while Importing SYSTEM objects into 9.2.0.6

    HI,
    I got the following error while importing data into 9.2.0.6 DB .
    It is related to a SYSTEM object.
    . importing SYSTEM's objects into SYSTEM
    IMP-00017: following statement failed with ORACLE error 2270:
    "ALTER TABLE "DEF$_CALLDEST" ADD CONSTRAINT "DEF$_CALL_DESTINATION" FOREIGN "
    "KEY ("DBLINK") REFERENCES "DEF$_DESTINATION" ("DBLINK") ENABLE NOVALIDATE"
    IMP-00003: ORACLE error 2270 encountered
    ORA-02270: no matching unique or primary key for this column-list
    Constarint exists on Composite Primary Key on the parent table.
    Can anybody help me out on this.
    Regards,
    Sumit Singh Chadha

    Hi,
    don't mentioning why are You importing SYSTEM objects, the error that You have, just looking the message, is due to an export done without the clause CONSISTENT=Y (so all relations parent/child preserved) having the replication (the table in error is one of the replication dictionary table) active (not quisced)
    Repeat the export operation using CONSISTENT=Y an stop replication activity.
    Hope this helps
    Max

  • Error While Importing from EIF file into AW

    Hi All,
    I am facing the following error while importing from EIF file into AW using AWM as well as from sql prompt.
    java.sql.SQLException: ORA-36786: (IOSEC04) File POCAW/abc.eif does not exist or cannot be accessed.
    ORA-06512: at "SYS.DBMS_AW", line 42
    ORA-06512: at line 1
    at oracle.olap.awm.eif.eifimport.ImportDialogActionThread.doExportOrImport(ImportDialogActionThread.java:172)
    at oracle.olap.awm.eif.EifDialogActionThread.doAction(EifDialogActionThread.java:58)
    at oracle.olap.awm.ui.dialog.ThreadedDialogActionThread.run(ThreadedDialogActionThread.java:49)
    i have already created the directory pocaw.
    i have done the following steps :
    CREATE OR REPLACE DIRECTORY POCAW as 'D:\Olap_POC\export';
    GRANT all ON DIRECTORY POCAW to PUBLIC;
    execute dbms_aw.execute ('aw create ''POC_AW''');
    execute dbms_aw.execute('cda pocaw');
    execute dbms_aw.execute('dtb attach POC_AW rw');
    execute dbms_aw.execute('import all from eif file ''/abc.eif'' dfns update ');
    any idea or thought would be appreciable.
    thanks n advance
    anwar

    execute dbms_aw.execute('import all from eif file''/abc.eif'' dfns update ');
    Maybe one of the following file names could help
    (have never tried it):
    ''abc.eif''
    ''POC_AW\abc.eif''Yes,
    you don't need the slash. CDA is like setting a default directory.

  • Import SQL into Fact Table - Conversion Error

    Hi All,
    I am new to BPC MS and did not know much into MS SQL.
    I am facing the Conversion error while converting between unicode and non unicode string data types.
    We are using SAP BPC 10.0 MS SP13, EPM-Addin SP18 on .Net 4
    The below is the error log
    Total Step: 4
    SQLToTxt: Failed in 0 seconds
    Import SQL into Fact Table: Failed in 0 seconds
    [Selection]
    DB = BPC
    TABLE = GlBalanceOpening
    COLUMNS = Account,Auxiliary,Curr,BalanceDateTime,Amount
    TRANSFORMATION = \JMG\LIQ_JMG\DataManager\TransformationFiles\GLOpeningBalances.xls
    CLEARDATA = No
    RUNLOGIC = No
    PROCESSCUBE = Yes
    CHECKLCK = No
    [Message]
    An error occurred while executing a package.
    Package Error Events: 
    ErrorCode = -1071636234
    Source = SQLToTxt
    SubComponent= OLE DB Source [68]
    Description = Column "Account" cannot convert between unicode and non-unicode string data types.
    IDOfInterfaceWithError= {C81DFC5A-3B22-4DA3-BD3B-10BF861A7F9C}
    Package Error Events: 
    ErrorCode = -1071636234
    Source = SQLToTxt
    SubComponent= OLE DB Source [68]
    Description = Column "AccountName" cannot convert between unicode and non-unicode string data types.
    IDOfInterfaceWithError= {C81DFC5A-3B22-4DA3-BD3B-10BF861A7F9C}
    Package Error Events: 
    ErrorCode = -1071636234
    Source = SQLToTxt
    SubComponent= OLE DB Source [68]
    Description = Column "Auxiliary" cannot convert between unicode and non-unicode string data types.
    IDOfInterfaceWithError= {C81DFC5A-3B22-4DA3-BD3B-10BF861A7F9C}
    Package Error Events: 
    ErrorCode = -1071636234
    Source = SQLToTxt
    SubComponent= OLE DB Source [68]
    Description = Column "AuxiliaryName" cannot convert between unicode and non-unicode string data types.
    IDOfInterfaceWithError= {C81DFC5A-3B22-4DA3-BD3B-10BF861A7F9C}
    Package Error Events: 
    ErrorCode = -1071636234
    Source = SQLToTxt
    SubComponent= OLE DB Source [68]
    Description = Column "Curr" cannot convert between unicode and non-unicode string data types.
    IDOfInterfaceWithError= {C81DFC5A-3B22-4DA3-BD3B-10BF861A7F9C}
    Package Error Events: 
    ErrorCode = -1071636234
    Source = SQLToTxt
    SubComponent= OLE DB Source [68]
    Description = Column "Dr" cannot convert between unicode and non-unicode string data types.
    IDOfInterfaceWithError= {C81DFC5A-3B22-4DA3-BD3B-10BF861A7F9C}
    Package Error Events: 
    ErrorCode = -1071636234
    Source = SQLToTxt
    SubComponent= OLE DB Source [68]
    Description = Column "Cr" cannot convert between unicode and non-unicode string data types.
    IDOfInterfaceWithError= {C81DFC5A-3B22-4DA3-BD3B-10BF861A7F9C}
    Package Error Events: 
    ErrorCode = -1073450901
    Source = SQLToTxt
    SubComponent= SSIS.Pipeline
    Description = "component "OLE DB Source" (68)" failed validation and returned validation status "VS_ISBROKEN".
    IDOfInterfaceWithError= {C81DFC5A-3B22-4DA3-BD3B-10BF861A7F9C}
    Package Error Events: 
    ErrorCode = -1073450996
    Source = SQLToTxt
    SubComponent= SSIS.Pipeline
    Description = One or more component failed validation.
    IDOfInterfaceWithError= {C81DFC5A-3B22-4DA3-BD3B-10BF861A7F9C}
    Package Error Events: 
    ErrorCode = -1073594105
    Source = SQLToTxt
    SubComponent=
    Description = There were errors during task validation.
    IDOfInterfaceWithError= {B4E78907-3D9C-4229-9DB9-6A311E45C779}
    Thanks and Regards,
    Raj

    Hi Raj,
    you have to modify the script of your package, see please 1629737 - Error in ImportSQL Data Manager Package
    Regards
         Roberto

  • Error while importing MS project into cProject

    Hi
    I am getting the below error while importing MS project client file or XML file into cProjects.
    dpr_shared087
    Logon language becomes original language
    Message no. DPR_SHARED087
    Diagnosis
    The logon language is defined as a possible text language in Customizing for Collaboration Projects under Specify Text Languages. Therefore, it is valid.
    System Response
    The logon language becomes the original language of the new object that was created.
    Kindly suggest what configuration data if any is missing.
    Regards
    Srikrishna

    Hi
    I am getting the below error while importing MS project into cProject.
    Error occurred when importing from Microsoft Project
    Message no. DPR_UI_BSP116
    Diagnosis
    When a project is imported from Microsoft Project, the system generates an XML string during internal processing. A project is then created in cProjects from this string.
    The XML string contains errors because the values from Microsoft Project were transferred without verification.
    Procedure for System Administration
    Notify SAP or call the cProjects application with the "DebugMode=X" query string and carry out the import again.
    The XML string that was generated temporarily is then validated against the cProjects XML schema. The error message from the XML parser is then displayed in the popup.
    Kindly suggest, if the below steps for importing MS project is ok or not?
    step 1: Create project in MS project with tasks.
    step 2: Maintain maping fields of MSP in cProject configurat
    step 3: Import MPP file into cProject using "Import" button.
    step 4: I am getting the above error while importing the MPP file.
    Regards
    Srikrishna

  • Error while importing CA cert into kerstore

    Hi all,
    I am facing below error while importing CA cet or trusted cert into keystore:
    bash-3.00$ keytool -import -v -trustcacerts -alias tcstestenv -file TCStestCA.cer -keystore keystore.jks
    Enter keystore password:
    keytool error: java.lang.Exception: Public keys in reply and keystore don't match
    java.lang.Exception: Public keys in reply and keystore don't match
    at sun.security.tools.KeyTool.establishCertChain(KeyTool.java:2618)
    at sun.security.tools.KeyTool.installReply(KeyTool.java:1870)
    at sun.security.tools.KeyTool.doCommands(KeyTool.java:807)
    at sun.security.tools.KeyTool.run(KeyTool.java:172)
    at sun.security.tools.KeyTool.main(KeyTool.java:166)
    bash-3.00$ keytool -import -v -trustcacerts -alias tcstestenv -file TCStestCA.cer -keystore keystore.jks
    Enter keystore password:
    keytool error: java.lang.Exception: Public keys in reply and keystore don't match
    java.lang.Exception: Public keys in reply and keystore don't match
    at sun.security.tools.KeyTool.establishCertChain(KeyTool.java:2618)
    at sun.security.tools.KeyTool.installReply(KeyTool.java:1870)
    at sun.security.tools.KeyTool.doCommands(KeyTool.java:807)
    at sun.security.tools.KeyTool.run(KeyTool.java:172)
    at sun.security.tools.KeyTool.main(KeyTool.java:166)
    bash-3.00$ keytool -import -v -alias tcstestenv -file TCStest.cer -keystore keystore.jks
    Enter keystore password:
    keytool error: java.lang.Exception: Public keys in reply and keystore don't match
    java.lang.Exception: Public keys in reply and keystore don't match
    at sun.security.tools.KeyTool.establishCertChain(KeyTool.java:2618)
    at sun.security.tools.KeyTool.installReply(KeyTool.java:1870)
    at sun.security.tools.KeyTool.doCommands(KeyTool.java:807)
    at sun.security.tools.KeyTool.run(KeyTool.java:172)
    at sun.security.tools.KeyTool.main(KeyTool.java:166)
    Regards
    Sunitha

    How did you create an empty keystore? Ideally when you use keytool -genkey command then it generates a keystore and a key. Have you made sure that the cert which you are importing is in PEM format (PEM certs can be opened in any text editor)
    Regards,
    Anuj

  • Error While importing SAP query into quality system

    Hi,
    When Itried to import the dataset(Transport Request)  generated in develoment system into Quality system I am getting the following error.
    Query already exists and Infoset contains a structures which is not there in data dictionary .
    How to oversome this error to import successfully into quality system
    thanks

    hi,
    You need to transport your Z tables to the quality.
    Make sure you transport all the data elements , domain.. etc to the quality.
    Thats why its giving you the error.
    It does not find the Z tables in Quality
    Regards,
    Vinod

Maybe you are looking for