Sql statement add an "N" literal wher reporting trough oracle 10g and lib eclipse

<p>the same select created with crystal report 9 and oracle 8.04 with crystal report XI and oracle 10G have some difference. In the crystal report XI the statement contains an &#39;N&#39; literal that should not be there.</p><p>I have used the Service pack 1 of Business Object XI r2 on the server and here i haven&#39;t problem.</p><p>When I use the same report throught an applet with the CRXI library&#39;s I have the problem of "N" literal</p><p>I work with Eclipse, java, CRXI, and oracle10g</p>

JRC/Crystal Report XI generated SQL automatically add an "N" literal in front of some values which can not even execute in the SQL*Plus.

Similar Messages

  • Client transport  between SAP on Oracle 10G and MS SQL server 2005

    Hi Folks,
    We have a requirement where we have to do client export/import from SAP ECC 6.O running on Oracle 10g and to SAP ECC 6.0 running on MS SQL server 2005.I want to know whether SAP supports this and patch levels of all components two systems should be the same.
    Thanks in advance,
    Basis Admin

    Not recommendet because of potential :
    -  patch level inconsistency
    - ABAP dictionary inconsistency (programs, tables)
    - possible client independent configuration conflicts
        existing config cen disturb "imported" client
        imported config can ddisturb  existing clients
    If there are any inconsistencies mentioned above you are in trouble...
    regards,
    wojtek

  • Need to download a tool to make reports from Oracle 10g or Oracle 11R1

    Hello,
    need to download a tool to make reports from Oracle 10g or Oracle 11Release 1,      
    but not too well from where to download it, my system is 32 bits
    thanks

    All Oracle product downloads are available from http://download.oracle.com or http://edelivery.oracle.com
    Before going to the download site, you may want to review the available tools. Go to http://otn.oracle.com and check out the white papers and info under Products : Developer Tools

  • Calling report on oracle 10g forms

    hi to all,
    how can call oracle10g reports to oracle 10g forms? using a parameter..e.g: employee id.
    Please i need a sample code...
    note : report will not run on internet explorer.
    thanks.
    Edited by: baguhan on Jul 1, 2009 6:06 AM

    Hai Baguhan,
    Try this.
    DECLARE
         RO_Report_ID REPORT_OBJECT;
         Str_Report_Server_Job VARCHAR2(100);
         Str_Job_ID VARCHAR2(100);
         Str_URL VARCHAR2(100);
         PL_ID PARAMLIST ;
    BEGIN
         PL_ID := GET_PARAMETER_LIST('TEMPDATA');
         IF NOT ID_NULL(PL_ID) THEN
         DESTROY_PARAMETER_LIST(PL_ID);
         END IF;
         PL_ID := CREATE_PARAMETER_LIST('TEMPDATA');
         RO_Report_ID := FIND_REPORT_OBJECT('REPORT_OBJ');
         ADD_PARAMETER(PL_ID, 'EMP_ID', TEXT_PARAMETER, <value to EMPID parameter>);
    --FOLLOWING PARAMETERS ARE MANDATORY PARAMETERS TO SET REPORT OBJECT
              SET_REPORT_OBJECT_PROPERTY(RO_Report_ID, REPORT_FILENAME, '<report_full_path>');
              SET_REPORT_OBJECT_PROPERTY(RO_Report_ID, REPORT_COMM_MODE, SYNCHRONOUS);
              SET_REPORT_OBJECT_PROPERTY(RO_Report_ID, REPORT_EXECUTION_MODE, BATCH);
              SET_REPORT_OBJECT_PROPERTY(RO_Report_ID, REPORT_DESTYPE, FILE);
              SET_REPORT_OBJECT_PROPERTY(RO_Report_ID, REPORT_DESFORMAT, 'PDF');
              SET_REPORT_OBJECT_PROPERTY(RO_Report_ID, REPORT_SERVER, <report_server_name>);
              Str_Report_Server_Job := RUN_REPORT_OBJECT(RO_Report_ID, PL_ID);
              Str_Job_ID := SUBSTR(Str_Report_Server_Job, LENGTH(<report_server_name>) + 2, LENGTH(Str_Report_Server_Job));
              Str_URL       := '/reports/rwservlet/getjobid' || Str_Job_ID || '?server=' || <report_server_name>;
              WEB.SHOW_DOCUMENT(Str_URL, '_SELF');
              DESTROY_PARAMETER_LIST(PL_ID);
      END IF;
    END;And add a report object in the form. ( in the above code, its REPORT_OBJ ).
    Regards,
    Manu.
    If this answer is helpful or correct, please mark it. Thanks.

  • How to run a report from oracle 10g form in .csv format

    dear all,
    how to run a report from oracle 10g form in .csv format? i've already run in pdf & excel format.
    i'm using
    SET_REPORT_OBJECT_PROPERTY (ro_report_id, report_desformat, 'PDF'); --for pdf
    SET_REPORT_OBJECT_PROPERTY (ro_report_id, report_desformat, 'SPREADSHEET'); ---for excel
    Please Help..

    i have already tried.
    but the report show in htm or html format. that file will not save into csv. please help.

  • User reports in Oracle 10g

    How difficult is it for non-technical users to generate their own ad hoc reports in Oracle 10g?

    If they are non-technical , then, somebody technical have to generate adhoc reports for them.

  • Connect Oracle 10g and OWB to SQL Server 2005 in Windows XP

    I am unable to create a working connection between Oracle 10g and a SQL Server database. I have followed the instructions in several sources, but when I attempt to connect to the MSSQL database through SQL Plus or SQL Developer, I get the ORA-03135 error. I set up a non-Oracle location in OWB and the connection test was successful but the metadata would not import. Creating an Oracle location with the same parameters produced the ORA-03135 error.
    In TNSNAMES.ORA I placed the following definition:
    MSSQL =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = wgilt1.hsd1.nj.comcast.net)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = MSSQL)
         (HS = OK)
    In LISTENER.ORA I placed the following in the SID_LIST_LISTENER:
    (SID_DESC =
    (SID_NAME = MSSQL)
    (ORACLE_HOME = C:\oracle\product\10.2.0\db_2)
    (PROGRAM = hsodbc)
    The inimssql.ora file contains the following:
    HS_FDS_CONNECT_INFO = MSSQL
    HS_DB_NAME = MSSQL
    HS_FDS_TRACE_LEVEL = ON
    HS_FDS_TRACE_FILE_NAME = c:\hs_fds_mssql.log
    What is missing?

    could be a copy paste issue, but please make sure the tnsnames.ora has at least on space in from of each line after the alias.
    In addition what is the listener status? Please post the output of lsnrctl status <listener name>.
    Need to know also the output of: C:\oracle\product\10.2.0\db_2\bin\hsodbc

  • Migrating 9ids form & reports to Oracle 10g

    Hi,
    I want to migrate my all 9ids forms and reports to Oracle 10G. Is there any Migration tool to migrate more than one form or report at a time.
    Please let me know ASAP.
    Regards,
    Malay

    Hello,
    Migration tools:
    1. Oracle Forms Migration Assistant
    frmplsqlconv mode=batch/wizard module=modulename log=logname
    Can be executed in batch or wizard mode, and can convert more modules.
    2.WebUtil (last version is 1.0.6 and can be used for converting to forms 10g Release 1( 9.0.4) and Release 2 (10.1.2.0.2.)
    Check this links for more documentation:
    http://www.oracle.com/technology/products/forms/htdocs/upgrade/index.html
    http://www.oracle.com/technology/documentation/10g_forms.html
    daniela

  • HSODBC connectivity between ORACLE 10g and SQL Server 2008 R2

    Hi,
    I'm getting below error when using the DB link between Oracle (10.2.0.2 which is on Sun Sparc) and MS Sql server 2008 R2.
    ERROR at line 1:
    ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
    [Generic Connectivity Using ODBC][Microsoft][ODBC Driver Manager] Data source
    name not found and no default driver specified (SQL State: IM002; SQL Code: 0)
    ORA-02063: preceding 2 lines from SCOPEX.WORLD
    My Config files:
    On Sun Sparc 5.9 where Oracle server is running.
    TelemetryDB1 =
    (DESCRIPTION=
    (ADDRESS=(PROTOCOL=tcp)(HOST=172.16.6.48)(PORT=1522))
    (CONNECT_DATA=(SID=TelemetryDB1))
    (HS=OK)
    Listener.ora file on Windows machine:
    TelemetryDB1 =
    (ADDRESS_LIST=
    (ADDRESS=(PROTOCOL=tcp)(HOST=172.16.6.48)(PORT=1522))
    (ADDRESS=(PROTOCOL=ipc)(KEY=PNPKEY))
    SID_LIST_TelemetryDB1 =
    (SID_LIST=
    (SID_DESC=
    (SID_NAME=TelemetryDB1)
    (ORACLE_HOME=C:\oracle\product\10.2.0\db_1)
    (PROGRAM=hsodbc)
    Tnsnames.ora file:
    TelemetryDB1 =
    (DESCRIPTION=
    (ADDRESS=(PROTOCOL=tcp)(HOST=172.16.6.48)(PORT=1522))
    (CONNECT_DATA=(SID=TelemetryDB1))
    (HS=OK)
    initTelemetryDB1.ora file under ORACLE_HOME\hs\admin\
    HS_FDS_CONNECT_INFO = TelemetryDB1
    HS_FDS_TRACE_LEVEL = OFF
    We have created DNS with TelemetryDB1.
    I'm getting the above error for DB links between Oracle 10.2 and SQL Server 2008 R2. But the same, when configured for MS SQL server 2000 works fine without any issues.
    Please advise me to rectify the error. We've been working for the last couple of weeks.
    Regards,
    Sunil

    Sunil,
    You don't need an Oracle ODBC driver.
    The way it works is that in the gateway init<sid>.ora file, in your case initTelemetryDB1.ora, the parameter HS_FDS_CONNECT_INFO points to a system DSN. This DSN should then be configured to use an ODBC driver to connect to the non-Oracle database. So, in your setup when you want to access the SQL*Server 2008 database then the DSN should use an ODBC driver that can connect to a SQL*Server 2008 database. If you still use the initTelemetryDB1.ora file for the connection then the TelemetryDB1 DSN should be configured to access the SQL*Server 2008 database.
    However, there are a couple of problems with your actual setup -
    - the configuration you have - 10.2 RDBMS on a Sun machine and HSODBC on Windows - is not supported. HSODBC should only be used from a RDBMS that is in the same ORACLE_HOME as HSODBC.
    - 10.2 HSODBC is now desupported and has been replaced by the 11g Database Gateway for ODBC (DG4ODBC) and the configuration you want is supported. That is because unlike HSODBC the DG4ODBC gateway can be installed standalone with a RDBMS being installed.
    I recommend that you download and install 11.20.2 DG4ODBC on your Windows machine in a new Oracle_home and access that from the 10.2 RDBMS on Sun - which is a supported configuration. But to do this, you will need to apply either the 10.2.0.4 or 10.2.0.5 patchset to your RDBMS.
    There is more information in the following note available on My Oracle Support (MOS) -
    Note.1083703.1 Master Note for Oracle Gateway Products
    The 11.2.0.2 DG4ODBC can be downloaded from MOS as patch and for the gateways on Windows 32-bit you just need to download -
    p10098816_112020_platform_4of6.zip
    However, to check the HSODBC ou need to confirm that the DSN used by HSODBC points to a System DSN configured to access SQL*Server 2008.
    Have a look at -
    Note 109730.1 How to setup generic connectivity (HSODBC) for Windows NT
    But remember this is not a supported version or configuration and you should be using Dg4ODBC.
    Regards,
    Mike

  • How to create ODBC connection between Oracle 10g and MS SQL Server

    Hi,
    Can someone help us with the steps to create an ODBC connection between Oracle APPS using Oracle 10g database and MS SQL Server.
    Requirement is to extract the transactional data from MS SQL Server on a daily basis and dump it into Oracle tables for an interface to be run. Currently it is being done through Dataloader tool which we feel is causing the data issue with Arabic characters. We want to create the ODBC directly between Oracle and MS SQL Server and check if the data is being pulled correctly.
    The data is in sql server 2000 which has data in Arabic_CI_AS character set which is moved to Oracle 10.2.0.3 database with characterset AL32UTF8. The table data is moved to oracle using the dataloader 3.6 standard edition licensed version. We cannot change the character set of Sql Server 2000.
    Please help
    Thanks
    Shanil

    Hi,
    If you're trying to PULL data from SQLServer into an Oracle database, you wouldnt use Oracle ODBC driver for that, so you may want to post in the Heterogeneous Services forum instead:
    Heterogeneous Connectivity
    If you're trying to PUSH data from SQLServer into an Oracle database, you could use ODBC but most folks use OLEDB for that, and the following note on MOS should help:
    How to Create a Sql Server Linked Server With The Oracle Provider for OLE DB     (Doc ID 191368.1)
    As with any NLS related issue, the first thing to do is dump the codepoints of the data in the Oracle database to see if it is stored validly, rather than relying on what the data "looks like" from some tool or other. It's best to check a single row, with only a few characters in it if you can, and you can do that via
    SELECT DUMP(<columname>,1016) FROM <tablename> WHERE ...
    Hope it helps,
    Greg

  • Cannot generate AWR/ADDM reports in Oracle 10g

    Hi,
    We are running 10.2.0.3.0 and troublshooted the performance problem for some queries. But when tried to run AWR/ADDM reports from OEM and got the following messages:
    Insufficient Data in Interval. For displaying data on this page, two historical snapshots are needed. Make sure that two snapshots are present in the target database instance. In addition modify the interval so that it is contained within two available snapshots
    I checked the scheduled jobs in this DB,
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - 64bit Production
    With the Partitioning, Real Application Clusters, Oracle Label Security and Data Mining options
    SQL> select JOB_NAME from dba_scheduler_jobs;
    JOB_NAME
    PURGE_LOG
    FGR$AUTOPURGE_JOB
    GATHER_STATS_JOB
    AUTO_SPACE_ADVISOR_JOB
    Has anyone anyidea why AWR/ADDM reports cannot be run? Thanks
    Liz

    Hi,
    If you want you can execute snapshot at your required time as suggested by people.
    However Oracle 10g by default take snap at every one hour.
    To check
    select snap_id, to_char(BEGIN_INTERVAL_TIME,'DD-MON-YYYY HH24:MI') BEGIN_INTERVAL_TIME,
    to_char(END_INTERVAL_TIME,'DD-MON-YYYY HH24:MI') END_INTERVAL_TIME
    from dba_hist_snapshot
    You can generate AWR Report by executing following SQL, Connect as SYS
    SQL> @$ORACLE_HOME/rdbms/admin/awrrpt.sql
    Input required details it asks, you can get AWR report in HTML or text format.
    ADDM Report:
    @$ORACLE_HOME/rdbms/admin/addmrpt.sql

  • Reporting in Oracle BO and CO.

    We have successfully setup the Oracle BO and CO versions 13.0.1.
    With vanilla BO application, we get the Reporting tab once we login (Admin user).
    In that we have 2 sub-tabs, Sales and Financials which are visible. If we see the reportImport.xml, there are reports related to Storeops and Time maintenance. We also have some rtf's and xml's for the (vanilla) StoreOps and Time maintenance.
    My questions are
    a) How do we enable the subtabs related to these reports (StoreOps and Time maintenance) ?
    b) How do I add another sub-tabs ?
    I did some analysis and could find that these are related to 'categories' and the categories are stored in XMLP_RPT table, but how do we display these categories in the Report Tab ?
    Similarly, for CO, I could display the Report tab once we login (Report tab is not vanilla functionality). But I am unable to display the sub-tabs and other navigation links such as 'My Favorite Reports' and 'Schdeuled Reports'. Any pointers to relevant files which we need to modify ?
    Really appreciate any help on this.
    Thanks,
    Abhishek

    A) This seems to be issue with permissions given to user. You have to add new permissions to provide access to that reports.
    Regards
    Saurabh
    9810096534
    We have successfully setup the Oracle BO and CO versions 13.0.1.
    With vanilla BO application, we get the Reporting tab once we login (Admin user).
    In that we have 2 sub-tabs, Sales and Financials which are visible. If we see the reportImport.xml, there are reports related to Storeops and Time maintenance. We also have some rtf's and xml's for the (vanilla) StoreOps and Time maintenance.
    My questions are
    a) How do we enable the subtabs related to these reports (StoreOps and Time maintenance) ?
    b) How do I add another sub-tabs ?
    I did some analysis and could find that these are related to 'categories' and the categories are stored in XMLP_RPT table, but how do we display these categories in the Report Tab ?
    Similarly, for CO, I could display the Report tab once we login (Report tab is not vanilla functionality). But I am unable to display the sub-tabs and other navigation links such as 'My Favorite Reports' and 'Schdeuled Reports'. Any pointers to relevant files which we need to modify ?
    Really appreciate any help on this.
    Thanks,
    Abhishek

  • Cannot delete reports, unless I close and open Eclipse/Tomcat

    Please can someone help me.
    I cannot delete reports. I have not worked out all the details yet but this is what I got so far...
    First I thought it was a problem with my tomcat setup, I would deploy my WAR and run the app. After
    viewing the report and closing the browser. I would not beable to delete the rpt file until I close Tomcat.
    I have now got a similar problem within Eclipse. (as far as I can tell its the same problem but even worse)
    If i create any report and design it or even a new blank report. And not do anything to it, just save it as a blank report. I then try delete the
    report. Right click and then delete.
    After a few seconds Eclipse brings up an error and says it cant delete the file, the reason it gives is
    Problems encountered while deleting resources.
      Could not delete 'C:\WorkSpace\Project\WebContent\Report1.rpt'.
        Problems encountered while deleting files.
          Could not delete: C:\WorkSpace\Project\WebContent\Report1.rpt.
    I have tried creating a fresh new project and only one report. And I still get the error.
    If I try delete the whole project perminatly it also gives the same error. (But deletes the default crystal report)
    I have to close Eclipse and then open it again before I can delete the rpt files properly.
    I have not always had this problem. It used to work fine (dont ask what I have done since
    cause I would not beable to tell, sorry)
    Hopefully someone can help me, as this is driving me insane, and having to stop and start Tomcat every
    time I want to deploy a new test version is not really an option.
    Cheers
    Darren

    Hi Merry,
    Thanks for getting back to me.
    My reports within Eclipse seem to be behaving themselves now and dying gracefully without and hassles,
    so I dont know what fixed that problem as I have not made any changes or done any updates. One of
    those things I guess.
    With regards to TOMCAT still having a handle on the reports, As far as I am aware I am putting the
    report source in session
    Below is my JSP that loads the report
    I store report name in session via a servlet and set all the DB connection details in the servlet also.
    imports....
    try {
       String reportName = session.getAttribute("Report").toString();
       ReportClientDocument clientDoc = (ReportClientDocument) session.getAttribute(reportName);
       if (clientDoc == null) {
          clientDoc = new ReportClientDocument();
          // Open report
          clientDoc.open(reportName, OpenReportOptions._openAsReadOnly);
          // ****** BEGIN LOGON DATASOURCE SNIPPET **************** 
             //Call the process to set all the database detail retrieved from web.xml
             // Custom function to set the connection details
             ReportFunctions.setConnection(clientDoc);
          // ****** END LOGON DATASOURCE SNIPPET ****************           
          // Store the report document in session
          session.setAttribute(reportName, clientDoc);
       // ****** BEGIN CONNECT CRYSTALREPORTPAGEVIEWER SNIPPET **************** 
          // Create the CrystalReportViewer object
          CrystalReportViewer crystalReportPageViewer = new CrystalReportViewer();
          //set the reportsource property of the viewer
          IReportSource reportSource = clientDoc.getReportSource();                    
          crystalReportPageViewer.setReportSource(reportSource);
          // set viewer attributes
          crystalReportPageViewer.setOwnPage(true);
          crystalReportPageViewer.setOwnForm(true);
          crystalReportPageViewer.setDisplayGroupTree(false);
          crystalReportPageViewer.setHasToggleGroupTreeButton(false);
          crystalReportPageViewer.setHasPrintButton(false);
          crystalReportPageViewer.setEnableDrillDown(false);
          // Process the report
          crystalReportPageViewer.processHttpRequest(request, response, application, null);
       // ****** END CONNECT CRYSTALREPORTPAGEVIEWER SNIPPET ****************          
       } catch (ReportSDKExceptionBase e) {
        out.println(e);
    So far its very basic.
    How best can I kill and clean up once the web page is closed. I have tried a few options but dont seem to
    know the best way,
    I tried "onbeforeunload" but I dont know if this is the best practice,
    I have a session listener with sessionDestroyed but have not learnt how to envoke this correctly, or atleast when to correctly call it. And then I dont know how to clean out any loaded reports from here.
    I have used 
    request.getSession().invalidate();
    at the end of my JSP but that destoys everything everytime a user does anything on the page, (selecting any of the buttons on the report)
    I am still learning everyday, and so I appoligise for questions that I should really know, am being pushed into the deep end here so trying my best :).
    Thanks again.
    Cheers
    Darren
    Sorry for bumping this back the list, but I am at my wits end as how best to "clean out" the reports
    once they have been closed or timed out.
    Surely there must be a way to release all objects (be it a actaul rpt file or the classes12.jar) once the
    reports have been viewed and closed.
    Even if there is something I can load via another servlet that destroys anything that has to do
    with the main website.
    Thanks and again sorry for moving this back up the list. If i get no replies, ill assume this is impossible
    and that the only way to upload a new version of a report is to shut the whole Tomcat service and
    make the changes.
    Cheers
    Edited by: Darren Jackson on Dec 3, 2008 12:31 PM

  • Installing Oracle 10G and SQL Developer for Windows 7 Home Premium

    Hi Folks,
    I need your helping me in getting the correct Database installed for my Windows 7 .
    Can you please help me out in sending me the correct url for Oracle 10G Database & SQL Developer URL
    So i can install both and get on with it...
    Thanks ,
    satish.p

    user4789048 wrote:
    Hi Folks,
    I need your helping me in getting the correct Database installed for my Windows 7 .
    Can you please help me out in sending me the correct url for Oracle 10G Database & SQL Developer URL
    So i can install both and get on with it...
    Thanks ,
    satish.pWith the caveat (as already pointed out by Srini in this thread) that no Oracle product has ever been certified on any "home" edition of any version of Oracle ...
    If I were looking to download any product, I'd start by going to that company's web site (like, www.oracle.com) and look for a tab or link called "download". I'll bet if you did that, you'd find all sorts of goodies.
    But, again, since you are dealing with a "home" edition of Windows, you'll need to start by installing a virtual machine product -- VM Ware's "VMworkstation" or "VMplayer", or Oracle's VirtualBox. Then you can create a virtual machine running a supported OS. Oracle's own Linux (derived from Red Hat Linux) is also free.

  • Urgent: problem running reports in Oracle 10g application server

    Hi all,
    our problem is that we deployed a jsp report as Ear file in Oracle 10g application server in infrastructure node.deployment says successfull.when we try to run that report it says 401 unauthorised.while sending request we are passing the database username,password &sid is this correct or any configuration setting to be done to make it run.
    one morething normal jsp works fine.when we run reports jsp it gives the above mentioned 401 error.

    hello,
    when you deploy reports JSPs they still require the reports specific componentes (e.g. TLD file, classes, ...) etc be available. i doubt that's the case in your ear file.
    thanks,
    ph.

Maybe you are looking for

  • Has anyone used R3load LOAD "ANY_ORDER" option?

    We are testing a migration with a big (32-core) box and this option is listed in Note 1058437 as an option for R3load. In the note, it asks for us to consult the DB2 documentation, which describes this option: "Specifies that the load utility can pro

  • Sync issues with latest version of i tunes

    new version of i tunes hasnt installed properly cant sync i pad or i phone why release new versions when they clearly dont work. have re installed to no avail. now what do i do ?

  • Sony Cybershot M1 / M2 videos don't import into iPhoto6

    Hello, I've been using the Sony M1 and now the M2 as my videoblogging camera. I love it because it does both stills and videos well. Since I use iPhoto a fair bit also, I was wondering why the Sony's MPEG4 video doesn't get imported into iPhoto as pa

  • What is proceedure to move PC formated songs to Mac?

    My son wants to change format from PC over to Mac but all his somngs came from PC. He now has a Mac, (xmas gift), and wants to make the ipod work nativly on Mac now with his music. Is there a step by step thread for new users of ipod to follow? Or...

  • Tabbed Panel in JSP

    Hi , could anyone please give me the syntax for creating a tabbed panel in JSP? Is there anything i should include? It'd be great if you could pass on a sample code... Thank you!