Dates in Personal Oracle 8

I wish to insert a date of 10/24/00. My sql looks like the following: INSERT INTO TESTDATE VALUES (to_date('10-24-00 1:35', 'mm/dd/yy hh24:mi')); Personal Oracle 8.0 ignores the to_date function and creates the date as 24-OCT-00. Why can't I store a date in Oracle 8 personal edition in this format

Hi Paul,
this is the default layout when You query a date field, if You use a query like that:
SELECT TO_CHAR(date_field, 'MM.DD.YYHH24:MI') FROM testdate
/You'll see the result as:
10.24.00 01:35
Bye Max
null

Similar Messages

  • Writing a stored procedure to import SQL Server table data into a Oracle table

    Hello,
    As a new DBA I have been tasked with writing a stored procedure to import SQL Server table data into an Oracle table. I have been given many suggestions on how to do it from SQL Server but I I just need to write a stored procedure to run it from the Oracle side. Suggestions/guidance on where to start would be greatly appreciated! Thank you!
    I started to write it based on what I have but I know this is not correct :/
    # Here is the select statement for the data source in SQL Server...
    SELECT COMPANY
    ,CUSTOMER
    ,TRANS_TYPE
    ,INVOICE
    ,TRANS_DATE
    ,STATUS
    ,TRAN_AMT
    ,CREDIT_AMT
    ,APPLD_AMT
    ,ADJ_AMT
    ,TRANS_USER1
    ,PROCESS_LEVEL
    ,DESCRIPTION
    ,DUE_DATE
    ,OUR_DATE
    ,OUR_TIME
    ,PROCESS_FLAG
    ,ERROR_DESCRIPTION
      FROM data_source_table_name
    #It loads data into the table in Oracle....   
    Insert into oracle_destination_table_name (
    COMPANY,
    CUSTOMER,
    TRANS_TYPE,
    INVOICE,
    TRANS_DATE,
    STATUS,
    TRANS_AMT,
    CREDIT_AMT,
    APPLD_AMT,
    ADJ_AMT,
    TRANS_USER1,
    PROCESS_LEVEL,
    DESCRIPTION,
    DUE_DATE,
    OUR_DATE,
    OUR_TIME,
    PROCESS_FLAG,
    ERROR_DESCRIPTION)
    END;

    CREATE TABLE statements would have been better as MS-SQL and Oracle don't have the same data types.
    OUR_DATE, OUR_TIME will (most likely) be ONE column in Oracle.
    DATABASE LINK
    Personally, I'd just load the data over a database link:
    insert into oracle_destination_table_name ( <column list> )
    select ... <transform data here>
    from data_source_table@mssql_db_link
    As far as creating the database link from Oracle to MS-SQL ... that is for somebody else to answer.
    (most likely you'll need to use an ODBC driver)
    EXTERNAL TABLE
    If the data from MS-SQL is in a CSV file, just use and external table.
    same concept:
    insert into oracle_destination_table_name ( <column list> )
    select ... <transform data here>
    from data_source_external_table
    MK

  • How to login to Personal Oracle 8i (30 day Evaluation copy)

    I downloaded Personal Oracle 8i from Oracle website. I already had Oracle 7 installed on my system. So during setup Universal Installer suggested to convert my data from older version to 8i, but it asked for Internal password. what is that? whenever I used SQLPLUS in oracle 7, my user name was SCOTT and password was TIGER but it says that the password is invalid.where can I find this password?
    The second problem is after installing Oracle 8i successfully,when I try to login to SQLPLUS it asks for user ID and password. I tried to use the same ID i,e SCOTT and TIGER but it won't let me to login the database. What is the user name and password for this version. Please help and answer in detail. Thanks.....
    null

    I have not used the Personal Oracle8i 30-day Eval version, but after the installation, you typically have at least four sets of initial user ID's and passwords.
    1. INTERNAL/oracle
    2. SYS/change_on_install
    3. SYSTEM/manager
    4. SCOTT/tiger
    They are not case-sensitive.
    Try them out and good luck!
    Regards,
    BN
    null

  • Save HTML data in a Oracle Column

    what would be the best way to Save HTML data in a Oracle Column?
    while varchar2 can be used for upto 4000 bytes. it would still mean escaping a lot of special character. Is there a better way to do this? any help would be greatly appreciated.

    Besides the XML types available to you and the associated Oracle provided packages to input and extract XML I have heard arguments that both should be stored in the database. That is you should store the extracted data in normal Oracle columns so it can be used like any other attribute and that you should store the XML as XML which can then be used as XML.
    For data that is only inserted and deleted I can see this method but if updates to information within the XML is required then you just added another set of work requirements and complexity.
    Who is going to access the data? What tools are the users going to use? Where else does the data need to be provied to and in what format? The answers to who and how the data will be used should provide you with the answer of what form the data should be stored in.
    My personal view is that a relational database should be used for what it was designed for, storing relational data.
    HTH -- Mark D Powell --

  • Need Help Urgently - Want to Load Time Data Automatically into Oracle HRMS

    Hi All,
    I am on my 1st Oracle HRMS project and I need urgent help on HOW TO load Time (IN/OUT) Data from a MS Access database which is populated by a Biometric Hand Geometry System.
    And we need to do it in real time as the data inserted in the MS Access Database we need to pull that into Oracle HRMS for Payroll purposes.
    If somebody can help me in this I'll greatly appreciate that.
    Thanks, AGAIN IT IS VERY URGENT
    Zee

    Zee,
    Let's go back to your core requirement "load Time (IN/OUT) Data from a MS Access database which is populated by a Biometric Hand Geometry System".
    Questions:
    1. Is this time data to be used to pay a person through Oracle Payroll?
    2. What legislation (country) is this for?
    3. Are you using Oracle Time and Labor (OTL) as the front-end or do you intend to enter the data directly into Oracle Payroll?
    See the following OTL documents:
    MetaLink Note 369022.1 - How Can Hours Worked Be Imported into OTL From Third Party System?
    MetaLink Note 223987.1 - Oracle OTL HXC TimeStore Deposit API
    MetaLink Note 283593.1 - Formatting an Exported Timecard Template using Microsoft Excel
    Regards,
    Greg

  • Personal Oracle 7

    I have a backup of data that was done using personal oracle 7. How can I restore it to personal oracle 8i.

    What backup utility? An operating system backup utility?
    Justin
    Distributed Database Consulting, Inc.
    http://www.ddbcinc.com/askDDBC

  • Difficulties connecting with oci8 to Personal Oracle 8 on Win98

    After looking through responses to other similar difficulties posted, I still can't seem to get this working.
    I have Personal Oracle 8 running on Win98 on a laptop. I'm using Sun jdk117 and trying to connect with oci8 because the thin driver won't work without a TCP/IP listener which I understand Personal Oracle doesn't support.
    There's an entry in my PATH pointing to c:\jdbc where the oci805jdbc.dll file is, and an entry in CLASSPATH pointing to c:\jdbc\classes111.zip .
    To start with I'm using a simple connect program which shouldn't do much more than make a connection and close it again (please see below).
    The program compiles fine, but when I run it all I get is:
    C:\apache\jserv11b3\servlets>java connect2
    in main()
    connect instantiated
    in tryconnect()
    going to attempt connect
    java.lang.UnsatisfiedLinkError: no oci805jdbc in shared library path
    at java.lang.Runtime.loadLibrary(Compiled Code)
    at java.lang.System.loadLibrary(System.java:561)
    at oracle.jdbc.oci7.OCIDBAccess.logon(OCIDBAccess.java:186)
    at oracle.jdbc.driver.OracleConnection.<init>(OracleConnection.java:127)
    at oracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.ja
    va:170)
    at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:148)
    at java.sql.DriverManager.getConnection(Compiled Code)
    at java.sql.DriverManager.getConnection(DriverManager.java:126)
    at connect2.tryconnect(connect2.java:19)
    at connect2.main(connect2.java:42)
    C:\apache\jserv11b3\servlets>
    I can't see any reason why there should be problems linking oci805jdbc.dll as PATH definitely has an entry pointing to the directory where it is located.
    Doubtless I'm doing something silly, or I'm missing some essential configuration parameter.
    Thanks for any helpful suggestions.
    program code:
    import java.sql.*;
    class connect2
    public int tryconnect()
    throws ClassNotFoundException , SQLException
    System.out.println("in tryconnect()");
    /* Load the Oracle Driver */
    Class.forName ("oracle.jdbc.driver.OracleDriver");
    System.out.println ("going to attempt connect");
    try
    /* get the connection */
    Connection conn =
    DriverManager.getConnection("jdbc racle ci8:@laptop:1521:ORCL", "system", "manager");
    catch (SQLException e)
    System.out.println ("Database Connect Failed");
    System.out.println (e.getMessage());
    return (1) ;
    return (0);
    public static void main(String argv[])
    throws ClassNotFoundException , SQLException
    System.out.println ("in main()");
    /* Create the instance */
    connect2 c = new connect2();
    System.out.println ("connect instantiated");
    /* Call the tryconnect. Returns 0 if success , 1 if failed */
    int Csuccess = c.tryconnect();
    if (Csuccess == 0 )
    System.out.println("Successfully Connected");
    null

    Thanks for your kind response.
    I'll have a look through the docs and see if I can find out how to get the TCP/IP listener running with Personal Oracle.
    I've been trying to use oci805jdbc.dll from the jdbc80520-nt.zip download file.
    Since the original post I've been trying to get the connection working with the Sun JDBC-ODBC bridge, but all I get is:
    C:\apache\jserv11b3\servlets>java connect2
    in main()
    connect instantiated
    in tryconnect()
    going to attempt connect
    Database Connect Failed
    [Microsoft][ODBC Driver Manager] Data source name not found and no default drive
    r specified
    The java code is identical apart from:
    Class.forName ("sun.jdbc.odbc.JdbcOdbcDriver");
    and
    Connection conn =
    DriverManager.getConnection("jdbc dbc:LAPTOP;database=ORCL", "system", "manager");
    The relevant entry in tnsnames.ora is:
    LAPTOP.WORLD =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = BEQ)(PROGRAM = oracle80)(ARGV0 = oracle80ORCL)(ARGS = '(DESCRIPTION=(LOCAL=YES)(ADDRESS=(PROTOCOL=BEQ)))'))
    (CONNECT_DATA =
    (SID = ORCL)
    Many thanks for any help.

  • Server timeout with Personal Oracle download

    So that we may better diagnose DOWNLOAD problems, please provide the following information.
    - Server name
    - Filename
    All 3 of the Personal Oracle "Disk" zips.
    - Date/Time
    GMT+1 22:00
    GMT+1 07:00
    GMT+1 10:00
    Basically any time.
    - Browser + Version
    Have tried all 3:
    Internet explorer 6.0
    Opera 6.0
    Netscale 6.2.1
    - O/S + Version
    W2K
    - Error Msg
    IE: Connection times out.
    Opera/Netscape: Simply hangs
    ====================
    Download times out after 3 hours or so when using a 256k ADSL line (23KB/sec). Can I get the same download via FTP? Or in smaller chunks?
    Many thanks in advance

    The OCI drivers require a client-side DLL in order to work. I believe it also needs some of SQL*Net. The client-side DLL is available with the Oracle Client software distribution.
    You need to install the Oracle Client software that matches the version of the JDBC drivers you are using on the machine where you are trying to make the connection (the client).
    If you are using the ORacle 8.1.5 JDBC drivers, you need the ORacle 8.1.5 Client software (regardless of what version of the database you are connecting to). Check the Paths tab in your project properties to see what version of the drivers you are using. By default it is 8.1.5 with JDev 2 and 3.0.
    If you want to use a different version of the JDBC drivers, make sure to see the online help for switching driver versions.
    Laura

  • Creating a database on Personal Oracle 9i on Windows 2000

    Hi,
    Well, I cannot create database on Personal Oracle 9i on Windows 2000 via Database Configuration Assistant. Same problem occurs during installation. Here is the message:
    CreateProcess: null -new -sid DES -startmode m error=2
    Does anyone know anything about it?
    Please reply...
    Thank you...

    Apply the lastest patch to the OS and try.
    Joel Perez

  • Installation Problem Personal Oracle 8.0.4 on Windows 2000

    When trying to install Personal Oracle 8.0.4 on a Windows 2000 machine, i get an Error:
    "Unable to delete the NT Service for the SQL *Net V2 Listener".
    No previous installation of Personal Oracle is present on this machine as it's a newly installed OS.
    Any Help would be appreciated

    I tried installing Oracle 8i Personal Edition in Windows 2000. The installer loads and it start installing the files, except when it goes half way through the installation, it quits. I don't know if this is a bug in 8i Personal Edition or not. Because I am unable to install the software on my machine.

  • How to change the default date in Person assignment tab?

    Hi experts,
    Does anyone know how to change the default date in person assignment tab in cj20n? Currently, the system always take the scheduled finish date to the date of the person assignment tab. Can I change it to the start date?
    Thanks and rgs,
    Michelle

    Hi Michelle,
    Goto SPRO->Project system->Dates->Scheduling->Specify Parameters for Network Scheduling, Here you can control the workforce planning dates.
    Hope this is useful...
    Regards
    Aatish

  • Problem with date format from Oracle DB

    Hi,
    I am facing a problem with date fields from Oracle DB sources. The date format of the field in DB table is 'Date base type is DATE and DDIC type is DATS'.
    I mapped the date fields to Date characters in BI. Now the data that comes to PSA is in weird format. It shows like -0.PR.09-A
    I have changing the field settings in DataSource  to internal and external and also i have tried mapping these date fields to text fields with out luck. All delivers the same format.
    I have also tried using conversion routines like, CONVERSION_EXIT_IDATE_INPUT to change format. It also delivers me the same old result.
    If anybody of you have any suggestions or if anybody have you experienced such probelms, Please share your experience with me.
    Thanks in advance.
    Regards
    Varada

    Thanks for all your reply. I can only the solutions creating view in database. I want some solution to be done in BI. I appreciate if some of you have idea in it.
    The issue again in detail
    I am facing an issue with date fields from oracle data. The data that is sent from Oracle is in the format is -0.AR.04-M. I am able to convert this date in BI with conversion routine in BI into format 04-MAR-0.
    The problem is,  I am getting data of length 10 (Output format) in the format -0.AR.04-M where the month is not in numericals. Since it is in text it is taking one character spacing more.
    I have tried in different ways to convert and increased the length in BI, the result is same. I am wondering if we can change the date format in database.
    I am in puzzle with the this date format. I have checked other Oracle DB connections data for date fields in BI, they get data in the format 20.081.031 which will allow to convert this in BI. Only from the system i am trying creating a problem.
    Regards
    Varada

  • Data Link In Oracle Report

    Hi,
    What is the significance of group level data links in oracle reports?How is it different from data links that select column from each groups?
    Thanks

    Hi user;
    Please check below and see its helpful:
    [Link 1|http://download-west.oracle.com/docs/html/B10602_01/toc.htm]
    [Link 2|http://www.oracle.com/technology/software/index.html]
    [Link 3|http://download.oracle.com/docs/html/A73172_01/output/bawor_re.htm]
    [Link 4|http://www.softwaregeek.com/reports-oracle-10g/p1.html]
    Regard
    Helios

  • Using Web Service as Data source (Pluggable Data Source) in Oracle Reports

    Anyone using Webservice as a pluggable data source in oracle 10g reports.(Report builder version:10.1.2.0.2)? We need to be able to use web service as one of the data source to create reports.Tried the following and ran into issues:
    Imported the wspds.jar fle from oracle plugin exchage. When tried using it received the following error in oracle reports trace file.
    04/26 22:27:22 java.lang.NoSuchMethodError: oracle.xml.parser.schema.XSDBuilder.build([Loracle/xml/parser/v2/XMLDocument;Ljava/net/URL;)Ljava/lang/Object;
    By troubleshooting issue found out that xmlparserv2.jar in 10g is newer than xmlparserv2.jar in 9i. wspds.jar is using xmlparserv2.jar in 9i as it was developed and tested for 9i only. Believe there is no newer wspds.jar file developed specifically for 10g?
    Is there a better/standard solution to use webservice as data source in oracle 10g reports? Does later version of oracle reports supports webservice as a data source without any additional plugins? Any suggestion would be helpful.

    Please provide support for the above request.
    It appears that Oracle 10g reports doesn't support Web Service as pluggable data source. Is this option is available in Oracle 11g Reports or Oracle Discoverer Or OBIEE?

  • How to Download Personal Oracle

    After trying several times to download Personal Oracle 9i, I perused this discussion group seeking a solution to a problem that I was having and finding that others were encountering the same problem.
    Perhaps you have encounted a difficulty in unzipping the Personal Oracle downloads... I and others have reported the fact that there are mutltiple CRC errors in the downloaded file when you try to unzip it.
    Well, after analysing the problem I have found a solution and surprise surprise it is marketedly similar to a problem I discovered with Oracle over 3 years ago... a problem which their tech support insisted had to do with the tuning of my companies server... well now I am not so sure that the problem is not inherant within Oracles handling of LOB's on the web. But instead of arguing an old point... let me detail for our users HOW TO DOWNLOAD AND INSTALL there ORacle products.
    Step by step:
    1. Download the product
    2. Download a second copy of the product and save it with a slightly different name
    3. Unzip both copies with Winzip 8 or better. You must unzip them into seperate directories. Save the unzip log which tells you which files contained CRC errors.
    4. Examine both logs and choose the version that contained the fewest CRC errors.
    HERE IS THE SECRET... as in the problem my old employer discovered years ago... the errors occur randomly in LOB downloads... therefore the chance of the same file being corrupt in both downloads is very low.
    5. The log will tell you which directory is being extracted and which file was corrupt... search the log for the string CRC in Wordpad... then find the missing file in the alternate tree and copy it to the working copy.
    6. Repeat for each corrupt file.
    7. when completed you can install the product from your working directory.
    Its not pretty... but it works.
    After searching for work for the last two months I thought it would be a good idea to refresh my skills with the latest version of Oracle... thank you Oracle for forcing me to use my skills to analyse your problems and develop a wotkaround... I now appreciate Postgres even more... I just wish there were employers who recognised that open source software is better supported than commercial products.
    Anyone have a job lead in Denver for a developer with 20 years experiance?

    Hello...
    Simply amazing what it takes to download the 9i.
    In fact I am still trying out your tip, and have had to work on 3 different ZIP sets so far!!
    Still have one or two files that refuse to download right! (Especially the big ones).
    I hope I get closer and closer to the final good set of install files soon!
    Anyway, from what you say, it sounds like Oracle employs certain airheads...

Maybe you are looking for

  • After Spry validation how to redirect to a "you have successfully register" page

    I am helping a friend set up a webpage for her business.  You can see the website here www.themessagetext.com.  I used a Spry validation for the phone number and the checkbox.  One the validation is verified, I want the user to be redirected to a pag

  • Scaling 3D Revolve object

    I am working in 5.5 and have a 3D revolved globe object with a map art applied. It is currently in A2 art board size and I need to increase to A0. When I scale the object I get "The combination of artwork size and resolution exceeds the maximum that

  • Removing leading zeros from a string value

    Hi All, i have a Requirement like , i need remove leading zeros from a string value, like , 00Raj00Shekar==>Raj00shekar, how can i do this ? if it is only with the custom functions ,where can add the fuction in Jdeveloper and SOA Middle ware? Thanks

  • Display symetrical list box

    Hi all I have a value in list box like this.Its dynamic list box .it means im facthing all value of list box from database. partnumber/purchaseorder/workorder mel 2005=>555555=>PA720 KDM-1087=>89898=>PA711 assembly2005=>454543=>PA718 1=>786=>PA721 i

  • Geotagged a folder of ~200 photos then accidentally deleted folder.  How to recover geotagging data?

    I had a folder of around 200 photos that I imported into Lightroom (Version 3.6) and manually geotagged using Lightroom with Jeffrey Friedl's Geoencoding Support Plug-in.  This took several hours of work in Google Maps, determining where each photo w