DATE FORMAT (ORACLE PORTAL) -----   (DATABASE)

I had a conversion ERROR while I was inserting DATE value from
dynamic LOV to database(probably because of the different
default DATE FORMAT of LOV query and database). I fixed the
problem with TO_CHAR funtion in the LOV query,where I changed
the date format...
But the ERROR could appear again if application was running on a
different database. What can I do to dynamically change the DATE
FORMAT, depending on the DATABASE???

Put this code in advanced pl/sql block beofre displaying page
dbms_session.set_nls('nls_date_format',
'''MM/DD/YYYY''');
set date format that you want.....

Similar Messages

  • How to migrate data from oracle 9i database to new machine 11gr2 RAC ASM

    Hi Expert
    I need your expertise to advise me what is the best method to move data from oracle 9i database to new machine running oracle 11r2 RAC database with ASM.
    Currently my production server running on HPUX ORACLE 9I database with normal file system. My new server is running SUN SOLARIS SPACR 64 bit ORACLE 11gr2 RAC with ASM. What is best method to move data over so it will be consistent. Any guide can refer.
    Regard
    William

    Hi William,
    See the note in metalink Migration of Oracle Database Instances Across OS Platforms [ID 733205.1] to saw the Endian Format of your OS. If is the same you can use the RMAN to convert the database to another OS, if not the only option is using export/import (Transportable Tablespaces).
    To upgrade from 9i to 11g, see the note 837570.1 - Complete Checklist for Manual Upgrades to 11gR2.
    To migrate your FS to ASM the only way is using RMAN, so see the note - How to move a datafile from a file system to ASM [ID 390274.1].
    Hope this help you.
    Best Regards,
    Ruben Morais

  • Getting all the CRM on Demand Data in Oracle 10g database

    Hello Everyone,
    The requirement is to get all the module data into Oracle 10g database.
    Currently i am using the background worker in .NET to span through all the modules, but recently experiencing performance issues due to data volume.
    I want to use .NET as the programming language.
    Kindly suggest any other methids / techniques.
    Thanks in advance.
    Regards.

    Thanks for your reply.
    We are using CRMOD webservices.
    We want the full OD data to be refreshed overnight and we havve used .NET to build the EXE, the same we have configured as a task.
    Could you please shed some more light as to what would be the best practices to do this.
    Regards.

  • How to mask data in oracle 11g database release 1

    how to mask data in oracle 11g database release 1
    my environment is
    Database: 11g release 1
    os: AIX 6 (64 bit)
    GC:10g release 1

    DBA-009 wrote:
    thx but how i can mask data with above give environment?What does "mask data" mean to you and what is the environment you are referring to?
    Telling us that you are using 11.1 helps. But it is far from a complete description of the environment. What edition of the database are you using? What options are installed? What Enterprise Manager packs are licensed? Is any of this changable? Could you license another option for the database or another pack for Enterprise Manager if that was necessary?
    What does it mean to you to "mask data"? Do you want to store the data on disk and then mask the data in the presentation layer when certain people query it (i.e. store the patient's social security number in the database but only present ***-**- and the last 4 digits to certain sets of employees)? Do you want to hide entire fields from certain people? Do you want to change the data stored in the database when you are refreshing a lower environment with production data? If so, do you need and/or want this process to be either determinisitic or reversable or both?
    Justin

  • Date Format in Portal

    Hi all,
    Iam working in Portal 7.2 and I need to change the date format in portal. Is there any path in System Administration -> System Configuration any properties that i need to change the format.
    Any help/advice/suggestions highly appreciated.
    Thanks in advance.
    Maggie

    Hi,
    The Date Format depends on the Browser Language and also the Language set to user in User Administration of Portal.
    Check the threads below:
    How to set default language for Portal?
    Issue with Record Working Time.
    Check the SAP Note : Note 947081 - Locales, languages, date and time formats in Web Dynpro
    It will give you info of what has to be changed.
    Hope this helps.
    Cheers-
    Pramod
    Edited by: Pramod on Jan 12, 2011 8:17 AM

  • Plz help to to transfer excel or acess data to Oracle 10g database

    Plz help me to transfer excel or acess data to Oracle 10g database.
    I have excel and acess sheet data here i wanna transfer it to oracle database. Plz guide me how to this
    Message was edited by:
    user582212

    There are several ways, such as ODBC or migration workbench, which is also mentioned in the current article on sqldeveloper on OTN, here's the link. If you use this forum's search function, you should find several threads regarding this topic.
    C.
    Message was edited by:
    cd

  • Displaying Sybase data in Oracle Portal?

    I am using the Oracle Transparent Gateway for Sybase to access Sybase data in SQL Plus. How do I display
    the sybase data in Oracle Portal? Does anyone know what to do or is there any documentation on this? Thanks.

    Thomas,
    First of all you need to create a schema for your Portal Application. Once that is done you will need to run in a DBA script called provsyns.sql so that this schema can execute and view the Portal core objects.
    This script is located in $9ias_ORACLE_HOME/portal30/admin/plsql/wwc
    Run this script as PORTAL30 with one parameter, this being the name of your new schema.
    Then your next step would be to set up all the necessary grants and synonyms so that the objects you wish to view over the gateway can be viewed from your application schema.
    Then you are ready to create an application in Portal via Navigator --> Applications.
    Choose the new schema as the Application schema (this is where all the Portal generated code gets compiled) and try creating a simple Report component to see if your non-portal components are set up properly.
    Hope this helps...
    John

  • Date format in different databases like DB2, MS SQL, Oracle etc.

    Hi,
    Is there any standard date format, which works on any database like DB2, MS SQL Server, or Oracle 8i.
    Right now I am using specific format for each database.
    I am using the following syntax to retrieve the records on Jun 14, 2001.
    MS SQL Server:
    select * from tablename where
    CONVERT(character(10),ReceiptDateTime, 120) >='2001-06-14'
    and CONVERT(character(10), ReceiptDateTime , 120) <'2001-06-15'
    Oracle:
    select * from tablename where
    TO_CHAR(ReceiptDateTime,'YYYY-MM-DD') >= '2001-06-14'
    AND TO_CHAR(ReceiptDateTime,'YYYY-MM-DD') < '2001-06-15'
    Is there any way we can generalize the date formt?
    Any help appreciated.
    Thanks,
    Naidu

    Hi,
    Perhaps any difference when you compare the outcomes of
    SQL> select * from nls_database_parameters;
    SQL> select * from nls_session_parameters;on both databases?

  • Different date format in different database..

    Hi,
    We have two database (10g) with same NLS settings.When we are reading the data from a table and assigning the value to XML tags using oracle.xml.sql.query.OracleXMLQuery class , with one database connection, the data format is coming as MM/DD/YYYY like <PYMT_DATE>7/23/2008 0:0:0</PYMT_DATE>
    but with other database it is coming as YYYY-MM-DD like <PYMT_DATE>2009-08-10</PYMT_DATE>..
    Can somebody help me out ?

    hi..
    Check the data format used to retrieve the date in the query ..
    TO_DATE (......................)
    Check whether both the db's are having same conversions..

  • Extracting date from oracle/other databases exactly to java

    Hello Friends,
    Iam creating a simple program which extracts data from any database and stores it in an XML file and also it can extract data from an XML file and updates the database.
    My program is just getting the tablename as an input and from that it builds the query (select * from tablename). Through ResultSet, Iam extracting date fields with getDate() method of ResultSet, which is yeilding converted dates [In oracle if date is 23-DEC-1980, Im getting it as 1980-12-23 in java]. Even getString() method of ResultSet doesn't work.
    I want my program to work with any database engine, which may have their own date formats. Kindly can anyone suggest me a way to extract date from any database exactly as it is to java.
    NOTE:: I can't use to_char(datefield) type commands in SQLQUERY as the only input to my program is tablename and my query is, select * from tablename.
    Regards,
    Ch.Praveen.

    HI Friends,
    Thanks for your fast replies. My program is extracting data from a database and generating an XML file for it, which is as follows.
    <?xml version="1.0" encoding="UTF-8"?>
    <table tableName="EMP">
    <row>
    <column columnName="EMPNO" columnType="NUMBER">7369</column>
    <column columnName="ENAME" columnType="VARCHAR2">'SMITH'</column>
    <column columnName="JOB" columnType="VARCHAR2">'CLERK'</column>
    <column columnName="MGR" columnType="NUMBER">7902</column>
    <column columnName="HIREDATE" columnType="DATE">'1980-12-17'</column>
    <column columnName="SAL" columnType="NUMBER">800</column>
    <column columnName="COMM" columnType="NUMBER" />
    <column columnName="DEPTNO" columnType="NUMBER">20</column>
    </row>
    <row>
    <column columnName="EMPNO" columnType="NUMBER">7499</column>
    <column columnName="ENAME" columnType="VARCHAR2">'ALLEN'</column>
    <column columnName="JOB" columnType="VARCHAR2">'SALESMAN'</column>
    <column columnName="MGR" columnType="NUMBER">7698</column>
    <column columnName="HIREDATE" columnType="DATE">'1981-02-20'</column>
    <column columnName="SAL" columnType="NUMBER">1600</column>
    <column columnName="COMM" columnType="NUMBER">300</column>
    <column columnName="DEPTNO" columnType="NUMBER">30</column>
    </row>
    </table>
    Here you can observe that HIREDATE column is having date in different format than in oracle. We are getting an error while we are extracting data from an XML file and updating the database, as dateformats differ. Can anyone provide a solution, which extracts date from database to java exactly as per the dateformat in database.

  • Date Format in Portal Report

    Hi,
    I have created a SQL Report with following select statement. Looks like portal has default format mask for date type as 'DD-MM-YY'.
    If I put DD-MM-YYYY or DD-MM-RRRR in Format Mask field in Column Formatting screen, the reports generates 04-10-0002 . It should
    be 04-10-2002.
    select process_id, last_update_date
    from obm
    where process_id like (:process_id)
    I tried to use the to_char function as following. But it errors ORA-06502:PL/SQL:numeric or value error. Even though it works fine in
    my sqlplus session.
    select process_id, to_char(last_update_date, 'DD-MM-YYYY')
    from obm
    where process_id like (:process_id)
    Does anyone have any idea?
    Thanks

    Hi,
    Which version of portal are you using? The error with to_char comes in 30984. This is a bug. The bug no is 2567445. A one-off has been issued. Please look in metalink for it. And for the date formatting in the column formatting section the formatting should work fine. Please check the data in your table.
    Thanks,
    Sharmila

  • Lotus notes (ibm) to migrate all the data to Oracle DB Database 10g R2(10.2

    Hi Experts,
    we have legacy application which is running independently with back end as Lotus Notes(IBM).Now we wanted to migrate the application to our application with data . our application is running with oracle Database 10g R2(10.2.0.2.0).
    Now I wanted to migrate all the data to Oracle DB.
    Can you suggest me the best ways to do handle the above migrations .
    thanks in advance

    Hi,
    Install all the required packages.
    You are hitting a bug. Bug 7680459: LIBXP PACKAGE IS MISSING FROM LIST OF PACKAGES REQUIRED.
    As per documentation Bug 7680459, the package libXp-1.0.0-8 is also required to invoke OUI successfully.
    So, make sure that you have installed these packages including the dependency packages required.
    Follow Doc ID 419646.1: Requirements For Installing Oracle 10gR2 On RHEL/OEL 5 (x86)
    Regards,
    Satish

  • Change Date format in portal(???)

    Hi all,
    i inserted current date from portal bulit-in items in oracle portal 10g on my page.it appeares in Christian date ,but i want to convert it from Christian date to Arabic date.
    how can i do this and where?
    can you help me please

    Hi Nikhil,
    please have a look at SAP note <a href="https://service.sap.com/sap/support/notes/816761">816761</a> for solving this.
    Hope it helps,
    Robert

  • Date Format in Portal 9.02

    Hi All,
    I have the following two questions, concerning Portal 9.02 :
    1/ Is it possible to change the date format from a
    SmartText displaying the current date in an item area ? and how ?
    Would like to be : dd-mm-yyyy
    2/ Is it possible to change the date format from an attribute 'Date updated' displayed by an item in an item area ? and how ?
    Would like to be : dd-mm-yyyy

    Hi,
    The Date Format depends on the Browser Language and also the Language set to user in User Administration of Portal.
    Check the threads below:
    How to set default language for Portal?
    Issue with Record Working Time.
    Check the SAP Note : Note 947081 - Locales, languages, date and time formats in Web Dynpro
    It will give you info of what has to be changed.
    Hope this helps.
    Cheers-
    Pramod
    Edited by: Pramod on Jan 12, 2011 8:17 AM

  • How can i change date format in portal?

    how can i change the date format in the portal to dd-mmm-yyyy format 
    (e.g. 02-MAR-2007 or 02/ MAR/ 2007)
    i know that i have to change one of the properties listed in the path
    (systen administration->system config->Knowledge management-> content management->global services->property metadata->properties)
    but which property should i change and what should I modify it to?
    Nikhil

    Hi Nikhil,
    please have a look at SAP note <a href="https://service.sap.com/sap/support/notes/816761">816761</a> for solving this.
    Hope it helps,
    Robert

Maybe you are looking for

  • Will Office Web Apps Server 2013 work with SharePoint 2013 sites hosted in SP2010 compatibility mode?

    We are planning a upgrade of a SP2010 farm to 2013. There has been a bit of customization so we wish to run the old sites on the new SP2013 platform in SP2010 compatibility mode. So my question is will Office Web Apps Server 2013 work with the old si

  • Please help : Integration Broker setup issue.

    Hello All, I'm working on integrating Peoplesoft HRMS 9.0 with Peoplesoft ELM 9.0 with Peopletools 8.49. Referring PeopleBooks, I'm able to successfully setup; 1. Local and remote nodes (able to ping successfully) 2. Message 3. Nodes 4. Service opera

  • Another PDF question

    Hi I am trying to add a pdf to am iWeb site. I have tried adding it to a n]media file, but I must be doing something wrong can you please help. Thanks Paul

  • I have issues with 2 websites, they are not loading need help

    This is so frustrating, i have 2 new clients whos websites are working when i use the http://caesars.businesscatalyst.com/index http://caesars.businesscatalyst.com/index I have used business catalyst for other clients and i have set them up exactly t

  • SMS Auto-Correction Stops Working

    I've noticed lately that sometimes I'll be typing and my iPhone's Auto-Correction feature stops working. For example if I were to accidentally type "dod", it would normally correct it and change it to "did". Or if I don't capitalize " i ", it'll chan