From oracle-l-bounce@freelists.org Tue Apr 5 01:43:33 2005 Return-Path: Received: from air891.startdedicated.com (root@localhost) by orafaq.com (8.12.10/8.12.10) with ESMTP id j356hXej026671 for ; Tue, 5 Apr 2005 01:43:33 -0500 X-ClientAddr: 206.53.239.180 Received: from turing.freelists.org (freelists-180.iquest.net [206.53.239.180]) by air891.startdedicated.com (8.12.10/8.12.10) with ESMTP id j356hWem026667 for ; Tue, 5 Apr 2005 01:43:33 -0500 Received: from localhost (localhost [127.0.0.1]) by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id D5B1D90134; Tue, 5 Apr 2005 00:41:30 -0500 (EST) Received: from turing.freelists.org ([127.0.0.1]) by localhost (turing [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 02891-05; Tue, 5 Apr 2005 00:41:30 -0500 (EST) Received: from turing (localhost [127.0.0.1]) by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id 5BF458FFB3; Tue, 5 Apr 2005 00:41:30 -0500 (EST) X-MimeOLE: Produced By Microsoft Exchange V6.0.6487.1 content-class: urn:content-classes:message MIME-Version: 1.0 Content-type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Subject: RE: Date datatype Date: Tue, 5 Apr 2005 07:39:41 +0200 Message-ID: <2CF83791A616BB4DA203FFD13007824A0214430F@MSXVS02.trivadis.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Date datatype Thread-Index: AcU5oPJznZcOP1uXQx265YpuWBoX+AAAGVkg From: "Christian Antognini" To: Cc: "oracle-l" X-archive-position: 18030 X-ecartis-version: Ecartis v1.0.0 Sender: oracle-l-bounce@freelists.org Errors-To: oracle-l-bounce@freelists.org X-original-sender: Christian.Antognini@trivadis.com Precedence: normal Reply-To: Christian.Antognini@trivadis.com X-list: oracle-l X-Virus-Scanned: by amavisd-new-20030616-p9 (Debian) at avenirtech.net X-Spam-Checker-Version: SpamAssassin 2.60 (1.212-2003-09-23-exp) on air891.startdedicated.com X-Spam-Status: No, hits=0.0 required=5.0 tests=AWL autolearn=ham version=2.60 X-Spam-Level: Hi > 1.. In SQLPlus, how can I display the full value > of a date column? I mean date and time and not > only the date. One possibility is to set the parameter NLS_DATE_FORMAT at session level = to something like "DD.MM.YYYY HH24:MI:SS". > 2.. I'm trying the EXTRACT function. Year, month and > day worked fine but not the hour, minute and > second. How can I do it? It should work. What does it mean "... but not..."?=20 If you copy/paste an example it's easier to help you... > 3.. I tried to add a numeric value from another > field to a date column and it worked for the > date. Is it possible to do the same thing with the time? Yes. E.g. add 1/24 to add one hour... i.e. you should do some math... HTH Chris -- http://www.freelists.org/webpage/oracle-l