Date in Oracle 10g

Hi,
OS:- HP-UX B.11.11
DATABASE:- Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit
When I check the date on OS using DATE command:
17:14:05 IST
When I check in database using following query: select to_char(sysdate,'DD/MM/RRRR HH24:MI:SS') from dual;
17:12:33
Can please explain the reason why the db date is running 2 mins back than os ?
How do I synchronise them ?
Vinitaa

Hi, Vintaa,
Different machines have different clocks.
When you use the OS DATE command, you're looking at the clock on your client machine.
When you use SYSDATE in Oracle, you're looking at the clock on the database server.
Unless you're doing something to synchronize then two, you can expect them to be different. Even if they were once identical, you can expect them to gradually become different.

Similar Messages

  • Problem in importing data in oracle 10g from 9i backup

    Hi ,
    Am trying to import data in oracle 10g..but it does not importing constraints, and stop doing anything by the msg.
    About to enable constraints.....
    after this msg it does not work.
    plz help,
    Regards,
    Neha

    Hi Neha,
    You have a lot of options. I'll supose you can test first, and you're using an export file.
    First forget about the data, think in your database structure. So you can do this:
    exp userid=... file=exp_norows.dmp full=y rows=n statistics=none
    Now you have the structure of your database. Create the database, in 10g, empty, check you have all filesystem, etc. for you new datafiles. And do the import with parameter ignore=y, you'll see a lot off errors on SYSTEM schema, don't worry about it.
    Now you have the structure of you database in 10g. You can take a look in the import log file, looking for some possible errors come from your schemas. so check the objects, and check the schemas.
    Bear in mind things like CONNECT role in 9i it's different in 10g, you can't create db_links in 10g with "IDENTIFIED BY VALUES" because you'll get an ORA-00600, etc.
    Well, fix all problems on source database (9i) and repeate this procedure until you don't recieve any more errors (not a SYSTEM schema errors).
    When you have everything solved, you can try to import the data.
    I hope, this method can help you. If you have any problem do not hesitate to ask me.
    John Ospino Rivas

  • Migration using data pump Oracle 10g - Oracle 11g

    HI all,
    1)
    Right now I`m using Oracle 11g. I have a plan to import data from Oracle 10g. I would like to know if its possible to import data which was exported by datapump on Oracle 10g ?
    Should I convert somehow expdp output from Oracle 10g to Oracle 11g format ?
    2)
    Next question is. If I will use expdp to create dump of complete database. May I use *.dmp to import selected users ? Or only full database can be restored ?

    Yes, you can import 10g dump into an 11g database.
    Maybe you should take some time and read the section on datapump in the fine Oracle® [Database Utilities|http://download.oracle.com/docs/cd/B28359_01/server.111/b28319/dp_import.htm#i1007324] manual.
    :p

  • Is there any method to export the data from oracle 10g in any format !!!!!

    is there any methods to export the data from oracle 10g in the format of excel or csc or txt or anyother. i already downloaded the sql developer tool but it only exports the data of upto one lakh rows ,but i have two tables of more than 3 lakh and 10 lakh rows respectively.for this i used 'where' command to break the file through sql developer but that didnt work
    plz help me out if any thing possible
    i need to again import this data into microsoft sql if there is any direct method plz let me know
    its urgent
    Message was edited by:
    user628031
    Message was edited by:
    user628031

    Take a look at DUMP_CSV function by Tom Kyte.

  • 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 migrate MS SQL Server OLAP data to Oracle 10g OLAP

    Hi,
    Anyone has any idea on whether migration workbench can migrate my MS SQL Server OLAP data to Oracle 10g (with OLAP option) ?
    Best Regards,
    Ian Ho

    Ian,
    What exactly do you mean by SQL*Server OLAP ? Is it just a 'normal' SQL*Server database which is used for an OLAP application ?
    The migration workbench migrates schema objects, triggers, and stored procedures and is not concerned with the application that uses those objects.
    And the same with the Oracle OLAP database. Once the data etc has been moved into the database you can then use it for whichever application you want.
    If you have concerns apart from moving the actual data then please give us more details.
    Regards,
    Mike

  • 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

  • Tool for Viewing 3D data in Oracle 10g

    Hi,
    I had uploaded the 3D DGN format Data from FME Oracle Suite to Oracle 10g database.
    the following tables were created
    TESTASH_SDODIM TABLE
    TESTASH_SDOLAYER TABLE
    TESTASH_SDOGEOM TABLE
    TESTASH_SDOINDEX TABLE
    TESTASH TABLE
    When we are trying to browse the data using AutoCAD of any other viewer, we are unable to find this table in that particular user. Whereas if we run a sql command and run a sql query we are able to get the record count.
    Can you suggest something to view this data.
    Thanks and Regards
    Ashish Dhawan

    Ok.. I'd bet then that there are no entries in USER_SDO_GEOM_METADATA AKA MDSYS.SDO_GEOM_METADATA_TABLE. FME view needs to find an entry in there to show you it in the dialog so you can pick the table. The same holds true for views of tables, there needs to be an entry, although I find it somewhat ironic that it then goes on to not know what projection the data is in.
    Also, the viewer will pick the first SDO_GEOMETRY column it finds. So if you have more than one, you will then need to make a view for just that column.
    Anyway, add an entry into the table, and you should be good to go.
    Bryan

  • Updating data in oracle 10g

    hello everyone,
    Is there anyone who can explain to me, how to import only recently datas from other database to mine oracle 10g database.
    I wanto update only the newest datas to my database.
    Best regards
    Tony

    userThony wrote:
    Hi,
    I have oracle 10g database installed in 2 servers machines. One has the backup datas from other.
    I would like to import the latest datas from one to other database.
    I don't want to import all the entire database, only the information from 2 weeks ago.
    Best regardsWell, as alluded to earlier, first you have to be able to identify that data. There is nothing inherent in Oracle to do so. At least not after the fact. Is there any column in the table(s) that could be used to identify the data you need? If one database is a backup of the other, why would you NOT want to back up the entire 'source' database? A little more information about the business problem you are trying to solve might lead to some creative solutions.

  • Retrieval of xmltype data from oracle 10g to java

    Hi
    Right now we are facing an issue on xmltype retrieval from oracle 10g to java.
    I used xmltype column.getClobval() to get the xml content, but unable to do the parse to get the xml data.
    So i tried getStringval(), getting the xml content as string format and here in this case also, i didn't get document object.
    Here is the code snippet:
    String sql = "SELECT node_id,node_desc,parent_node_id,e.report_xml.getStringval() FROM TABLE_STRUCTURE e";
    st = con.createStatement();
    rs = st.executeQuery(sql);
    while (rs.next()) {
    Object value[] = { rs.getString(1), rs.getString(2), rs.getString(3), rs.getString(4) };
    list.add(value);
    DOMParser parser = new DOMParser();
    parser.parse(rs.getString(4));
    doc = (Document) parser.getDocument();
    System.out.println(": DOM = " + doc.getClass().getName());
    Please do guide in this scenario.
    Thanks in advance.
    Sirisha

    Please see below link
    http://www.stanford.edu/dept/itss/docs/oracle/10g/appdev.101/b10790/xdb11jav.htm

  • Converting Informix data to Oracle 10g

    Hi,
    We are planning to convert data on Informix 5.x based legacy system over to Oracle 10g.
    Wondering if anyone would like to share some light on this process, experience, use of Oracle or Other tools..
    Regards,
    Subhash

    Are you looking to convert your data alone or do you wish to maintain the structure of the your legacy system? If you wish to retain the structure of your legacy system then something like like the oracle workbench may be what you are looking for. If you are just trying to convert your data from one database application to another then you just need an analyst map out your conversion needs and a good conversion programmer to convert the data.

  • Best way to migrate Access data into Oracle 10g?

    what's the best and easiest way to migrate MS Access database into Oracle10g?
    Thanks

    you can check out this thread ms access db to oracle 10g
    <p>also as neil mentioned you need an ODBC to established a database connection between ms access and oracle. be sure that the tables are existing in oracle so you move the data from ms access to oracle tables.</p>

  • How to Restore datas in Oracle 10g using hot backup?

    I did Hot backup things (On-line backup) in Oracle 10g (Windows environment)
    Now backup files are stored in physical location..
    How to restore the datas to original location..
    Can any one give the url or command for recovery in ora 10g for hot backup
    Thanks

    Please do not dump all of your work in this forum, and expect volunteers to do it for free!!!
    Dear Great Senior DBA Sybrand Bakker
    What are Oracle Discussion Forums?
    Oracle Discussion Forums is an interactive community for sharing information, questions, and comments about Oracle products and related technologies. Most forums are moderated by product managers, and all of them are frequently visited by knowledgeable users from the community
    oracle forums is not your place for showing “bossing” it is a place where junior to seniors share there knowledge and advices, it means helping and sharing….. Knowledge is for giving ….giving only it will increase… don’t discourage any one like this ……
    There are my Great Seniors (not like u) mainly respected Mr. Jonathan Lewis, Mr. Don Burleson and a lot of oracle nominated ACE members are all giving patiently replay to jr. to sr.
    Obeasley oracle doubts are mostly related to practical issue only……
    Pls try to learn the word meaning of “volunteers”

  • Exporting Data From Oracle 10g to Access

    Hi Experts,
    I need to export data from oracle apps shcema(each and every object in it) to MS ACCESS File.
    Please let me know how to do it
    Thanks and Regards,
    Andy

    Since you did not provide details of what you are planning to do, a very simple, however, depending upon the number of your tables, very labour intensive solution:
    Although being not very familiar with access, I think access offers a means to import csv files.
    So e.g. using SQL*Plus you can execute the following steps.
    set pagesize <nnn>
    set linesize <nnn>
    set colsep ',' -- You may choose other special characters to separate columns of your output
    spool <csv-file>
    select * from <tab>;
    spool offWherever you see <nnn> exchange by appropriate numeric values to get just one page as result and to configure your line size to hold a complete record in one output line.
    Replace <csv-file> and <tab> by the name of your output file to be read in to access and by the name of your table, respectively.

  • Problem with retrieving data from Oracle 10g / PHP4.3 / Apache 1.3.27

    Hi,
    I re-open a new thread following the opened post 'Getting RPMs for php-oracle for PHP4.3 on RHEL 4.0 and issue with OCI8 '
    I could re-installed PHP4.3 and apache 1.3.27 from the normal tar package (./configure then make) - I had some issues with the RPMs packages before.
    I could connect successfully PHP4.3 to my Oracle 10g DB with no issues by using some of the (deprecated) functions contained in oracle.so library in command line mode by executing a simple PHP script ;-)
    But ...when I try to execute the same script (a simple log on to the DB) or the application throught my web browser there are some errors in the apache error_log file that crash the process:
    [Wed Jul 25 13:19:23 2007] [notice] child pid 25450 exit signal Segmentation fault (11)
    [Wed Jul 25 13:19:31 2007] [notice] child pid 25451 exit signal Segmentation fault (11)
    *** glibc detected *** realloc(): invalid size: 0x08338898 ***
    [Wed Jul 25 13:19:42 2007] [notice] child pid 25441 exit signal Aborted (6)
    *** glibc detected *** realloc(): invalid size: 0x08338898 ***
    [Wed Jul 25 13:54:52 2007] [notice] child pid 25508 exit signal Aborted (6)
    [Fri Jul 27 04:39:56 2007] [notice] child pid 20550 exit signal Segmentation fault (11)
    After some investigations it looks like this is due to the connection of Oracle 10G and php.
    I tried to recompile Apache as the following:
    # cd /usr/src/apache_1.3.xx
    # make clean
    # LIBS=-lpthread ./config.status
    # make
    # make install
    but the issue is the same ...
    How can I workaround that issue and fix it in order to connect to Oracle 10 G by using PHP4.3 / apache 1.3.27 ?
    I need to use the oracle.so library to avoid to re-rewrite all my application ...
    Any help much very appreciated !
    Cheers
    Dominique

    You are in unchartered territory. But check the common "gotcha" and
    make sure that all the Oracle environment variables are set in the
    shell that starts Apache. Load the script <?php phpinfo(); ?> in a
    browser and see that whatever variables you need are set in the
    Environment section. See the section "Oracle Environment Variables
    for Connections" in Underground PHP and Oracle Manual
    I suspect it would be beneficial to migrate the PHP code to oci8.
    Check table 16-1 in Underground PHP and Oracle Manual for the mapping
    between 'oracle' and 'oci8' functions.
    -- cj

  • How to delete the recyclebin data  in oracle 10g

    i create one table.then i drop the that table.this table will be kept in recyclebin in oracle10g .how to remove table permanentley in oracle 10g.
    i used drop table table name and select * from tab;it will come two tables like
    BIN$kLM/ilgxTUil64ZsNG0l7A==$0.
    how to drop table permanentley.please give me steps.

    Hello;
    Use the PURGE statement to remove a table or index from your recycle bin and release all of the space associated with the object, or to remove the entire recycle bin, or to remove part of all of a dropped tablespace from the recycle bin.
    Remove a File From Your Recycle Bin: Example
    The following statement removes the table test from the recycle bin. If more than one version of test resides in the recycle bin, Oracle Database removes the version that has been there the longest:
    PURGE TABLE test;
    To determine system-generated name of the table you want removed from your recycle bin, issue a SELECT statement on your recycle bin. Using that object name, you can remove the table by issuing a statement similar to the following statement. (The system-generated name will differ from the one shown in the example.)
    PURGE TABLE RB$$33750$TABLE$0;
    Remove the Contents of Your Recycle Bin: Example
    To remove the entire contents of your recycle bin, issue the following statement:
    PURGE RECYCLEBIN;

Maybe you are looking for

  • Tomahawk1.1.3 ugrade exception...ExtensionsFilter not correctly configured.

    Hi Experts, I new to the world of JSF and im presently playing around with MyFaces Tomhawk implementation. I tried the tree example using tomahawk.jar ,myfaces-api and myfaces-impl. I was able to get the tree working with these version of jars. But n

  • Problem Event Name:_APPCRASH osk.exe(on screen keyboard)

    Hi there everyone.Anyone out there can help me with this problem? Many thanks in advance. :) Problem signature:   Problem Event Name: APPCRASH   Application Name: osk.exe   Application Version: 6.3.9600.17031   Application Timestamp: 53087e42   Fault

  • Get_Block Error when installing an application

    Hi all, I tried to recover a backup I had made some days ago, and I got the following error when installing the application: Error GET_BLOCK Error. ORA-20001: GET_STMT error. ORA-20001: Execution of the statement was unsuccessful. ORA-06550: line 34,

  • Two questions for After Effects CS5 Mac

    Hello,  (new to AE) I am trying to figure out why my "make movie" export is smaller than the composition I created. My comp settings are 1280 x 720 and my compostion window is at 100%. My output settings are also locked at 1280 x 720. However when I

  • Reading pixel color from Image?

    Hello frnds, I am making a project in which i have to upload Image, am trying to find color of each pixel in RGB format so that I can locate where my sprite begins in Image !! But I am not able to do so.. do I have to use PixelGrabber to do that? or