Convert Date using ORACLE WAREHOUSE BUILDER

Hi,
I need to convert date format from 'DD/MON/YYYY' to 'YYYY/MON/DD'. The data is varchar(2) and in the database is stored as date. I am using expression component.
I used this expressionS REPLACE(TO_CHAR(INGRP1.FROMDATE), 'YYYY-MON-DD') REPLACE(TO_CHAR(INGRP1.TO DATE), 'YYYY-MON-DD') and it gave me an error: literal does not match format string.
Can anyone help me! PLEASE. IT'S URGENT

You are in the wrong forum. This is the forum for the SQL Developer tool. You wll get better answer from Warehouse Builder forums or from then SQL and PL/SQL forum.
To convert varchar to date use the to_date function, In your case something like
to_date(date_field,'DD/Mon/YYYY');

Similar Messages

  • Oracle Warehouse Builder VS Oracle Data Integrator

    Hi everybody,
    I have a question that wish you can help me.
    we have systems of x64 so we cant use Oracle Warehouse Builder (only support on system 32 bits), someone recommend us to use Data Integrator but i don't really know this application.
    Anyway ODI 11.1.X.X could it be installed in x64:
    All Oracle Fusion Middleware products that are indicated as certified on x64 processor based Oracle Linux 5.5 or 5 Update 5+, 64 bit operating system, are also supported on Exalogic X2-2.
    What's is the different between OWB and ODI?
    I read about it and see that ODI is powerfull and it apply "Data Quality" better than OWB, is it right?
    Is it possible to exp/imp with metadata loader move metadates between OWB and ODI?

    Hi,
    well, the basic difference is hard to tell. ODI is based on so called knowledge module. This are implementations for physical access to all kind different database technologies (among ohter things). Therefore ODI used to be more flexible extracting data from different database technologies and also writing to them. But with OWB 11.2, these knowledge modules were integrated into owb as so-called template mappings. OWB has a stronger integration with the Oracle database and an Oracle database is always required. Oracle plans to integrate these two tools into one some day, whenever that will be. ODI offers more options for data quality (that are charged extra).
    So technically, the two tools are not that different. They have different user interfaces anyway.
    A big difference is the license. A basic version of OWB is included with the database license, so it can be used without extra charge. Most of our customers are using this version, even for large dwh implementations. If you buy am ETL license (or already have one), you may use both tools.
    Before you decide on one of the tools, make sure you have enough manpower with the required skill available - internal or external.
    Hope this helps,
    Carsten.

  • How to run a unix script from oracle warehouse Builder

    Hi,
    can any one share the information about, running the unix script or scripts using oracle warehouse builder.
    Regards,
    Ak

    One way is define a workflow. Inside the workflow you put
    1)an external process that "points to" the shell script and then
    2)put the mapping
    The external process must have the "COMMAND" parameter set to the name of the shell script. If the script has parameters you must put them in the "PARAMETERS LIST" separated by "?" (for example, ?par1?par2).
    The path where OWB executes the external process I think is the ORACLE_HOME of the OWB.
    f you don't use workflow, you can try with this more complex solution. I tried with 9i and OWB 9.2 and it's working well.
    You create an autonomous procedure (within a package or not) :
    CREATE PROCEDURE Extract_Email_List
    DECLARE
    PRAGMA AUTONOMOUS_TRANSACTION;
    And use the sys.shell script that you need your dba/unix admin to install first of all, with a call like that.
    sys.shell('sh ' || txt_dir_name || '/send_email_marketing.sh ' || txt_dir_name || ' ' || email_addr );
    Then you import your procedure into OWB and use it in your mapping with the "pre-mapping" icon (you can set parameters for your proc with constants if you want).
    To implement sys.shell, go to metalink and find "Note:168065.1" - "How to call a UNIX shell script from PL/SQL".
    Once it's done once, it's not so bad. But I would still recommend the workflow approach also..
    I hope this helps.

  • Creation data warehouse par l'outil oracle warehouse builder  (OWB)

    Bonjour,
    Dans le cadre de mon PFE je veux construire un data warehouse par l'outil Oracle warehouse builder.
    je cherche des exemples et un tutorial en français pour faire l'ETL d'une base de données de l'ERP JD Edwards.
    SVP, aidez moi et merci.

    Bonjour,
    For examples try:
    http://www.oracle.com/technetwork/developer-tools/warehouse/otn-collateral-086331.html
    If you need them in French try changing the country / language on Oracle site, not sure what's available though as my French is not good enough to let me read documentation in that language.
    Bonne chance

  • Connecting Oracle Warehouse Builder to an Informix data source

    I am having trouble connecting Oracle Warehouse Builder to my Informix database. I am getting error ORQ-28545. Here is what I did: Under Project Explorer I went to Non-Oracle under Datases. Then right click on Informix and selected New. In the Create Module Window I edit a the Location. Gave it a name, Set Type to HOST:PORT:SERVICE, enter my username, passowrd, my Host IP, left Port as default(1521), enter my Service Name, Enter the Schema. Click on Test Connection and got the above mentioned error.

    Hi,
    the first you should configure access to your Informix database at target Oracle DB (OWB works with non-Oracle DB over HS).
    So you should perform all steps described in Oracle Database Heterogeneous Connectivity Administrator's Guide (4.1 Setting Up Access to Non-Oracle Systems):
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14232/admin.htm#sthref152
    Oleg

  • Confuse about Configuring Oracle Warehouse Builder

    newbie here... i am abit confuse on how to configure the Oracle Warehouse builder...
    I have 2 database... 1 source and 1 new one...
    I understand that i have to install the Runtime Repository in the database computer and the Target Schema through the client's computer...
    so all this while... i am just confuse about what to install into the source database and what to install into the new database...
    Please help...

    Location is a logical entity in your OWB design that can be either a database schema, a flat file location, an SAP application location etc. Once you complete your design and are ready to deploy the design into the runtime environment, you will have to 'register' the locations by providing the physical details of your location to OWB (user name/password, database, hostname etc.).
    I am a bit confused by your configuration - are the source and the target in two separate schemas or in the same schema? Your posts are somewhat contradictory.
    If they are in two different schemas, you should:
    1. Create a source module pointing to a source schema (you can then import data object structures from the source schema - i.e. you don't have to create source tables manually in OWB, but you can import them into the module automatically). This module will have a source location (for example SRC_LOC).
    2. Create a target module where all your target objects will be (i.e. where the data will be loaded). This module will have a different location (TGT_LOC). In your target module you will also create the mappings.
    3. When deploying, you will register SRC_LOC with the physical details of your source schema, while the target location will be registered with the physical details of the target schema. The code generated by OWB during deployment will make sure that the data is extracted from the source schema and inserted into the target schema (either by generating and using DB links or by qualifying the schemas in the extraction queries if source and target are in the same database instance).
    On the other hand, if both source and target objects are in the same db schema, you can have all your objects in the same target module and you will only have to register the location of this target module when deploying (LOC_TGT).
    That said, there can be a variety of reasons why there is no data in the target after you run the extract mapping that have nothing to do with locations, such as logical errors in the mapping (an inappropriate filter or a wrong join), insufficient privileges etc. I suggest you take a look in the runtime audit browser that should contain the error messages relative to your mapping.
    Regards:
    Igor

  • Oracle Warehouse Builder

    Dear buddies,
    I need to migrate my tables and data from SQL Server 2005 to Oracle 10g.
    My boss's requirement is I must be able to redo it at any point of time. Meaning, I should be able to use the script at any point to recreate the tables and reload them independently without using SQL Server or the existing configurations.
    Does OracleWarehouse Builder provide such scripts after the migration or in the process of migration, which can be reused independently?
    There are about 7 SQL Server databases and each has around 270 tables. Some would be totally new and some would involve merging.
    Please advice me.
    Thanks.
    Nith

    Hi everyone,
    I tried to Just started like this
    1 - Start - All programs - Oracle Home - Warehouse Builder - Administration - Repository Assitant - Basic Install -
    2 - User Name=rep_user
    password=rep_user
    sysdba user name = sys
    sysdba password = the password i gave during the database creation (using dbca)
    hostname=localhost
    port number = 1521
    oracle service name = test6 (the name for the database & instance for which i just created)
    When I click Next, this error pops us:
    INS009: Unable to connect to the database with user SYS. jaba.sql.SQLException: IO Exception: The Network adapter could not establish the connection.
    The remaining disk space for that drive is few gigs and I have created the database with the 16384.
    Please advice on how I should go about this.
    I have been struggling to perform my migration. I really hope someone would be able to guide me through.
    OS: Windows 2003 Enter Edition
    Oracle 10g
    And I am not able to access anything from SQL Plus after I installed Oracle Warehouse Builder.
    So, is the error I am facing something like to do with a bad installation? Do I need to uninstall my OWB or uninstall my oracle and OWB and reinstall them?
    Please guide me.
    Nith
    Thanks a lot.
    Nith

  • Who says Oracle Warehouse Builder is a leader in ETL?

    ... the analyst firm Gartner does!
    Oracle Warehouse Builder moved into the leader quadrant in Gartner's ETL Magic Quadrant published on September 8, 2004. Please see today's press release from Oracle http://biz.yahoo.com/prnews/040916/sfth048_1.html
    What does it mean for the technical users of OWB like you: data warehouse developers, architects, data analysts, DBAs?
    It means that you've made a wise career decision to become skilled in the product with rapidly growing customer base and market recognition.
    Nikolai Rochnik

    If it were me, I'd use an 'Expression' operator in the mapping and write a CASE statement. You could also write a public or private transformation that takes the varchar2 parameter in and outputs the number you want and plug that into your mapping.
    Which route you go depends on how often you need to do this. One time, just write an expression. Reuse? Then make a transformation.
    - D

  • Licensing about Oracle Warehouse Builder

    Hi,
    If we install trial version of oracle warehouse builder v 9.2 from oracle website, does anybody know whether all the functionalities of oracle warehouse builder are available or are there any restrictions in using the trial version of the oracle warehouse builder.
    My second question is:
    Do we need Oracle 9i database to install oracle warehouse builder.
    After I installed Oracle warehouse builder when I clicked on start-->Programs-->Oracle 9i Developer Suite-->Warehouse builder-->OWB Client, when I open the OWB Client it's asking me for warehouse builder log on but it didn't ask for any username and password while I'm installing oracle warehouse builder. So, which username and password should I enter to log in to the OWB Client. And also can anyone please tell me what to enter into the Oracle Service name field.
    Any help is appreciated.........
    Thanks,
    -Deepa.

    There are no restriction in the warehouse builder version available from the OTN site. If you are using Warehouse Builder for commercial purposes (and if you want support and assistance from Oracle) you should pay for an Oracle Developer Suite license (as many of them as you have developers). currently it is $5000 per user (you also get JDeveloper, client Discoverer, BI beans etc.).
    As for the OWB installation, you did not complete all the steps. After installing the software on your machine, you must install the design repository (this is when you will be asked to enter the user/password for the OWB client) and the runtime repository and schema (where you will deploy your data warehouse). For details, please read the installation and configuration guide (http://download.oracle.com/docs/html/B11000_02/toc.htm).
    Regards:
    Igor

  • Problem in import of MetaData file in Oracle Warehouse Builder 9.2

    My Problem is Related to Oracle WareHouse Builder.My system's configuration is following :-
    Machine : P4
    Operating System :Windows XP
    ORacle : Version 9.2
    Oracle WareHouse Builder 9.2
    Ram :1GB
    SGA Size :Approximately 650M
    I have 2 MetaData files which I have to import into OWB.
    First file's size is 9M.It got imported properly in 4 minutes without any error.
    2nd File's Size is 30M.when
    I start importing this MEtaData file.It goes upto 35% in Progress Bar.But after that it does not show any improvement.
    I have left the machine running with this option upto 24 hours.
    But nothing happened .It still shows only 35%.
    I have checked log file/Trace file/Alert log files ,but there is no error in these files.
    If any body have any solution about it,Please reply ASAP.I am stucked in this problem from last 7-8 days.
    Waiting for reply
    Thanks & Regards
    Harvinder Singh

    Thanks for your reply Igor.
    As posted the OWB 10.1.0 software is running against a 9.2.0.8.0. database, so OWB still uses DBMS_JOB instead of DBMS_SCHEDULER in this database. In addition I already tested scheduling a simple job to run an OS command as suggested in note 365539.1 , and job scheduling is working fine.
    There are no invalid objects in this database.
    Yasmin

  • How to I convert data from oracle database into excel sheet

    how to I convert data from oracle database into excel sheet.
    I need to import columns and there datas from oracle database to microsoft excel sheet.
    Please let me know the different ways for doing this.
    Thanks.

    asktom.oracle.com has an excellent article on writing a PL/SQL procedure that dumps data to an Excel spreadsheet-- search for 'Excel' and it'll come up.
    You can also use your favorite connection protocol (ODBC, OLE DB, etc) to connect from Excel to Oracle and pull the data out that way.
    Justin

  • Problem in DB Link creation ( Oracle warehouse builder 3i  )

    I am facing a problem in DB Link creation.
    Backend: Oracle 8i Server on my machine
    DW Software: Oracle warehouse builder 3i ( client , repository asistant.....)
    Operating system: Windows NT 4 SERVICE PACK 6
    I wants to use the scott database( default database given by oracle ) as my input source.
    How can I create the DB LINK ( for scott database) ?
    How can I create the DB LINK ( for any other database) ?
    Should I need to add anything in Setting of"ODBC DATASOURCE ADMINISTRATION"
    ==================
    Settings done:
    ==================
    DB Link Name :scott
    Host name
    Host name: my machine's ip address
    port number: 1521
    oracle sid: prashant ( my oracle sid)
    user name:scott
    password:tiger
    ==================
    Gives error:
    ==================
    Testing...
    Failed.
    ORA-02085 Database link %s connects to %s
    *Cause:   a database link connected to a database with a different name.
    The connection is rejected.
    *Action:   create a database link with the same name as the database it
    connects to, or set global_names=false.
    Please change it to false by doing :
    first option:
    Log in the database with DBA privilege and use the command:
    alter system set GLOBAL_NAMES = false
    second option:
    Change the GLOBAL_NAMES to false in database system parameter file, init.ora
    ==================
    Options tried:
    ==================
    1. I tried to change GLOBAL_NAMES = false but still not able to create the DB LINK.
    2. As per suggestion of one the friend
    "A file named "Logon.Properties" under the directory $OWB_HOME/wbapp
    in this file please set the property
    OWBSingleUserLockUsage = false"
    I tried the same but it is still not working.
    How should I proceed further.
    I am expecting URGENT FEEDBACK.
    Reply me on : [email protected]
    From
    Prashant

    I solved the problem.
    Procedure I followed :
    UNINSTALL ORACLE WRAEHOUSE BUILDER SOFTAWARE.
    'GLOBAL_NAMES = FALSE' in init.ora file.
    RESTARTED MY MACHINE.
    INSTALL THE ORACLE WRAEHOUSE BUILDER SOFTAWARE.

  • Oracle Warehouse Builder 10.1.0.4 on Windows 2008 - 64 bits

    Hi Gurus.
    I'm currently working with a customer who wants to migrate all their database-servers to Windows 2008 on 64-bits processors. They're using Oracle Database Enterprise Edition 10g Release 2 (10.2.0.4) and Oracle Warehouse Builder (10.1.0.4). The OWB-clients will still run on Windows XP. I've used the "Certify"-funcionality on Metalink, but it doesn't really answer my questions. (It does* ansver some of my questions, but it also raises a few new ones....)
    My main question is: Can you run serverside OWB 10.1.0.4 on Enterprise Edition 10.2.0.4 for Windows 2008 64-bits?
    Thanks in advance:-)
    Best regards
    Helge
    Edited by: user613304 on Mar 6, 2009 11:10 PM

    No.
    Oracle Warehouse Builder version 10.1.x was desupported on 16-JUL-2007.
    The desupport notice is available on Metalink (Note 376384.1).
    The Warehouse Builder installation as part of the 11.1.0.7 installation should be certified, but I cannot find specifics.

  • Oracle warehouse builder - OWB & Oracle 10g Db on SuSE

    hi folks,
    i have Oracle 10g db on my laptop; and it runs great!
    but since i am trying to gain skills in data warehousing and business inteligence, and after reading about oracle warehouse builder, i decided to install it on my laptop as well.
    but i can not get my head around the docs for installing OWB.
    is the only requirement for OWB to have an OWB_ORACLE_HOME environment variable on linux? how do we start OWB service automatically?
    has anyone installed OWB with oracle on the same pc?
    i would appreciate your comments.
    thanks in advance,
    Nicolas

    Thanks Andreas,
    i have printed and followed the advice on these documents.
    that is how i have got confused about this OWB_ORACLE_HOME.
    i would very much appreciate if could provide me with some brief description of which environment variables are needed for OWB installation.
    regards,
    nicolas

  • Oracle Applications Release 12 and Oracle Warehouse Builder 10gR2

    Hi
    I'm trying to deploying process flows to Workflow but I get the following error:
    RPE-02054: The version of Oracle Workflow is incompatible with this Control Center. Required 2.6.3, but found 2.6.0.
    Comment I found on another thread: "As far Workflow Versions with Oracle Applications is concerned, it is always 2.6.0. Workflow is not identified with its 2.6.x versioning in Oracle Applications. The 2.6.x.x versioning is purely for Workflow Standalone."
    Oracle Warehouse Builder Client: 10.2.1.31
    Oracle Warehouse Builder Repository: 10.2.0.1.0
    Oracle Applications Release 12
    Any help would be appreciated.

    May be the excerpt from the other thread is a response I posted.
    So, when you say, deploying process flows to Workflow, I do not understand what you are doing exactly? If this involves the Oracle Warehouse Builder you may want to explain a little more in detail since I do not understand how OWB works with Workflow. But as far as I have heard, it is Workflow standalone that is packaged with OWB but you are deploying into Oracle Applications.
    What is the version of Oracle Workflow Builder you are using?
    Is the steps you are doing certified to be done with Oracle Applications R12?
    Thanks

Maybe you are looking for

  • Locking Issue in Planning DSO in SAP BW 7.3(Integrated Planning)

    Hi Experts, We have built Aggregation Level on Direct Update (planning enabled) DSO and used the same in the input ready queries.( Its complete Manual planning - new row addition feature in WAD). We have 5 characteristic and one key figure for planni

  • How to get the name of a previous test?

    Hi, The top level of my sequence is a list of subsequences, each one being a  sub-test. While inside one particular sub-test I would like to know the name of the sub-test which was executed before the one I'm in at the moment.   Obviously this is rel

  • Toplink JPA with Coherence deployment to Weblogic 10.3

    Hi, I have created an EJB application using Toplink JPA and Coherence. I would like to deploy this application to Weblogic 10.3. During the startup of Weblogic I have specified the Java option as -Dtangosol.coherence.cacheconfig=D:/JDEV_11g/jdevelope

  • Accrual Reversal Issue -F.81

    HI, I have posted accrual document through FBS1,and given the reversal reason and reversal date. while doing the reversal through F81,system is not allowing those doucment to reverse. what could be the reason.where is the problem.how to resolve this.

  • Mathematica 5.2.2 uses only one core

    Using Activity Monitor, I have seen that Mathematica 5.2.2 uses only the second core, even if Wolfram says that it supports multi-core calculations. So, firstly, I use only half of the power of my MBP C2D and secondly this could be dangerous for the