How to make timestamp in oracle 8.1.7?

Hi,
How can I store timestamp thing (not just yyyy-Mon-dd, but include time) to oracle 8.1.7? What kind of datatype it will be?
Thanks.
David

David,
This is why in your post asking about date and timestamp conversion from DB2 to Oracle I wrote:
I assume the DB2 timestamp column will go into an Oracle date column? For timestamps since the Oracle date column
only supports time down to the seconds from DB2 you'll have to something like:
From DB2 to get the timestamp into the text file:
select substr(char(timestamp_column),1,19) from table
which would give you a value like: 2002-03-08-13.17.56
You would then need to insert this value into Oracle using:
insert into table values(to_date('2002-03-08-13.17.56','YYYY-MM-DD-HH.MI.SS'))
The substr 1,19 will get the DB2 timestamp down to the seconds which is the best Oracle 8.1.7 can do. I've read that Oracle
9i supports time down to fractions of a second but I'm not sure if it goes to .000001 seconds like DB2 does. If you need
that precision in 8.1.7 you might have to store the fraction in another column(number data type?) and concat the two columns
together or store the entire timestamp in a varchar2 column. This could raise other issues on how to do any kind of date
manipulation though.

Similar Messages

  • How to make connection to ORACLE 7.1.6

    Hi,
    May I have suggestions on how to make connection to ORACLE 7.1.6 on UNIX box?
    Thank you very much for help!
    Jane

    Oracle 7.1.6 hasn't been supported by Oracle in many years. I don't believe that any Oracle product is currently certified to connect to a 7.1.6 database.
    You really need to consider upgrading your database. At least if you went to the 7.3.4 patchset, you'd have a fighting chance. This was the terminal Oracle7 patchset, so most products were still certified against it 12-18 months ago. If you're lucky, they'll still work, though they won't be certified.
    If you need a certified combination, you'll have to upgrade to 8i or 9i.
    Justin

  • How to Make an explicit oracle connection  to a default.

    Hi Users ,
    (Pro*C code)
    I have 2 connections to oracle db using connection identifier. At one point of time, i would like to make one of the explicit connection as default, which means further along i do not want to use the "AT" clause, instead queries should default to default connection. 
    Referring to below url, it only speaks about 2 distinct explicit connections, does not mention how to convert one of the explicit connection as default. 
    [ora11 guide|http://download.oracle.com/docs/cd/B28359_01/appdev.111/b28427/pc_03dbc.htm#auto Id13]
    Is there a way to do so ? 
    Looking at google, i found a reference to a url, ora7. In section, 17.2.5, It does say how to make a connection default - by using EXEC SQL SET CONNECT connection_name. However it seems , its not supported anymore. 
    [ora7 guide|http://starlet.deltatelecom.ru/rdb$doc/oraclerdb/gsp7/gus_pro_create_conn.html]
    Antony
    Edited by: user11952222 on Sep 1, 2011 3:16 PM

    I figured it out for myself.
    So, does that mean I get the 10 points?
    fd

  • How to make an entire Oracle Schema View Only ?

    Lets say I have a schema called "scott" in oracle database.
    Now I created a new user called "john".
    I wanted "john" user to fully access "scott" schema in view only mode.
    Can this be done easily, if YES how.
    Please give me the steps.

    CKPT wrote:
    you have to spool all the objects in this case...No all objects only scots tables ,that is good way!
    what do you say on grant select any table to user;..The purpose is giving only select privilege on scots all tables/views to jhon user.If you give select any table to jhon then jhon will select any schema!.That is wrong

  • How to make two standalone oracle databases into master/slave relationship

    i'm not talking about RAC...
    is there any way to make two oracle databases into master/slave relationship? one is hot one is cold, when the hot one is down, the cold one automatically picks up? and of course two databases are in sync all the time.
    any experience?

    DataGuard is an enterprise edition feature.
    You could roll your own standby database by cloning the production system to a backup server and writing scripts that copy the archived log files from the primary to the standby and that apply the archived logs on the standby. Of course, the transactions that had been applied to the primary that were still in the primary's redo logs would be lost if the primary were to fail. DataGuard provides options to keep the standby more closely in sync with the standby to reduce or eliminate that risk, which is one of the reasons that it's an enterprise edition feature.
    If you're on Windows, Oracle FailSafe may also be something to look at.
    Justin

  • Who can tell me how to make up two oracle as mirror pair

    who can do me favor to tell me where to start? appreciate at first.
    Frederick van Targero

    clarify what I mean that I want two oracle instance can backup automaticaly at anytime,rather than I do exp/imp by myself. I need not redirect automaticaly at this layer.
    thanks
    Frederick

  • How to make column range based on a column in Oracle BI 11g

    Hello everyone!
    I want to know, how to make column range from a column in oracle bi 11g.
    for example!
    I have a column amounts and I want to build on this with other values of quantity, other column range 1-9,10-49,50-99,100-249, 249 o more.
    regards!
    when I try to make the range I have error.
    Syntax error [nQSError: 26012] . (HY000)
    SQL Issued: SELECT CASE WHEN "CUBO_DEEE_TAB"."CANTIDAD" BETWEEN 1 AND 9 THEN 1 a 9 ELSE "CUBO_DEEE_TAB"."CANTIDAD" END FROM "DM_DEEE"
    Edited by: 964157 on 09-oct-2012 11:50

    You cannot add columns dynamically. But you can define a maximum number of numbers and then hide unused columns in your form useing SET_ITEM_PROPERTY(..,VISIBLE, PROPERTY_FALSE);

  • How to make picture button in oracle forms?

    can any one tell me how to make a picture button in oracle form builder?
    please help?

    Hi,
    Only a icon can be pasted on the push button. We can not user jpg,,jpeg or gif for the picture only ico file can be used.
    go to properyt pallet,
    make iconic as yes
    give the path in icon filename --- C:\Program Files\Winamp\eMusic\eMusicClient
    where eMusicClient is -- icon file name without extension, dont use " " in path
    bye

  • How to make code standardization in oracle 10 in sql/pl-sql

    if any body helps to handle how to make code standaridazation in oracle 10g in sql/pl-sql.

    refer tis link and get download..
    http://www.itap.purdue.edu/ea/data/standards/plsql.cfm

  • How can I make OPAC in Oracle Forms Builder

    Hello everyone,
    I'm developing a Library Management System as my project in my Oracle subject.
    Can anyone tell me how to make OPAC module of Library management system in Oracle forms builder.
    I don't have any idea because this is my first encounter in this system.
    Thanks.
    I really appreciate all your help.
    God bless ^^

    Hi,
    Simple, using current values you can create new id , 'old' and name so oracle will create record, now refresh block, next using next_record in loop you can find record,erase one and refresh block.
    Adinath Kamode

  • How to make connection between ASP and Oracle 8i

    Dear Helper,
    I have a problem about how to make the connection between ASP and
    Oracle 8i. If you have this idea, please help me to solve this
    problem. Thank You!!!
    null

    You must install Oracle Objects for OLE.
    After this in asp-script you may use following instructions
    1)initialization
    <%
    Set Session("OraSession") =server.CreateObject
    ("OracleInProcServer.XOraSession")
    set Session("OraData") = Session("OraSession").OpenDatabase
    ("service", "scott/tiger",0)
    %>
    2)open Dynaset
    <%
    Set EmpDynaset = Session("OraData").CreateDynaset("select 1 as
    f1, 2 as f2 from dual", 0)
    %>
    3)navigation
    <%EmpDynaset.MoveFirst%>
    <%EmpDynaset.MoveNext%>
    <%EmpDynaset.EOF%>
    4) Field access
    <%=EmpDynaset.Fields(1).value%>
    5) Sql execute
    Session("OraData").ExecuteSQL("delete xxx")
    Best regards.
    null

  • How to convert normal timestamp to julian timestamp in oracle

    Hi Friends
    How can i convert normal timestamp to Julian Timestamp in Oracle ?
    Thanks for your help

    Hi Chris,
    I dont have any idea on this. But need clarification on your query.
    When I executing below query I'm getting same output. 'J' will give only Julian day right not the timestamp. Please correct me if I am wrong.
    SQL> select to_char(systimestamp,'J') J,to_char(sysdate,'J') from dual;
    J            TO_CHAR
    2456631   2456631
    http://en.wikipedia.org/wiki/Template:JULIANDAY.TIMESTAMP

  • How to Install Oracle 11i apps 11.5.9 on RH9 and how to make staging cd

    Dear All,
    I installed RH9 server and I want to know step by step how to install oracle 11i apps 11.5.9 on linux.
    and I want to know how to make staging directory from the CD's.
    Anybody can help me out.
    Best regards,
    Ather Hussain
    [email protected]

    Well brother i hope i could help you in this regard but sorry for this. If you have any trouble doing all this is Windows, then plz do let me know.
    Wish you best of luck

  • How to make the oracle forms 10g applet or runtime the size of 1024x768?

    Hi,
    Can anyone tell me
    How to make the oracle forms 10g applet or runtime the size of 1024x768?
    Thanks in advans..

    Please post your question in Forms Topic
    Kamran Agayev A. (10g OCP)
    http://kamranagayev.wordpress.com
    [Step by Step install Oracle on Linux and Automate the installation using Shell Script |http://kamranagayev.wordpress.com/2009/05/01/step-by-step-installing-oracle-database-10g-release-2-on-linux-centos-and-automate-the-installation-using-linux-shell-script/]

  • How to make Oracle HTTP server a proxy server...

    I need a proxy server for Google Mini search Appliance. I have Oracle 9iAS on AIX 5.2; can someone tell me how to make Oracle HTTP server function as Proxy server?
    Thanks,
    Jess

    Maybe check the below link:-
    http://httpd.apache.org/docs/1.3/mod/mod_proxy.html

Maybe you are looking for

  • How to list the employees working under one manager in the same row.

    Hi, my emp table has the following data. EMPNO ENAME JOB MGR HIREDATE SAL COMM DEPTNO 7369 SMITH CLERK 7902 17-DEC-80 800 20 7499 ALLEN SALESMAN 7698 20-FEB-81 1600 300 30 7521 WARD SALESMAN 7698 22-FEB-81 1250 500 30 7566 JONES MANAGER 7839 02-APR-8

  • AWM on 10.1.0.4 database, but looking at data in 9.0.4 database (DBlink)

    Hi, I have 2 databases; one running OAS and INFRA database (10.1.0.4) and one older datawarehouse (9.0.4). I have installed Analytical Workspace Manager and mounted the 10.1.0.4 database with the OLAP option. I would like to map the workspace dimensi

  • Move OCR and Vote Disk to a new SAN

    Hi, Can you guys help me with some links/documents for moving OCR and Vote disk files from old SAN to new SAN. Both SAN will have ocfs2 formatted 3 partitions on which ocr and votedisk will be placed (normal redundancy). Oracle version 11g R2, OS lin

  • Logical column?

    Hi everybody, I have the fact table in the rpd. Every row represents one employee. There are columns such as full time (contract), part time (contract), age, salary and so on. My problems is counting number of part-time employee, full-time employee e

  • Initial Context response times

    Hi, What is the generally accepted timings to obtain an intial context first time from a client app to a remote EJB Server. My timings have shown that even on my development machine with a local Weblogic server its can take easily take upto 5 or 6 se