Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> Antw: export with query date field

Antw: export with query date field

From: Guido Konsolke <Guido.Konsolke_at_tkserv-triaton.thyssenkrupp.com>
Date: Thu, 06 Nov 2003 22:19:36 -0800
Message-ID: <F001.005D5DEF.20031106221936@fatcity.com>


David,

your query will get all records where the time is '000000' (hh24miss) -> MIDNIGHT. You need to deal with the time portion.

hth,
Guido

>>> David.Ehresmann_at_ps.net 06.11.2003 22.54 Uhr >>>

List,

I am trying to do an export query with a date field. I have tired different syntax. I know there are 500+ records with a date of 11/06/2003 in this table. What is wrong with my query since it returns no records? I have done this with character fields with no problem. What am I missing in the date syntax?

$exp user/pwd file=test.dmp log=test.log tables=processing_messages

             query=\"where message_date=to_date\(\'11/06/2003\'\,
\'MM/DD/YYYY\'\)\"                                


example output:

Export: Release 8.1.7.0.0 - Production on Thu Nov 6 15:30:21 2003

(c) Copyright 2000 Oracle Corporation. All rights reserved.

Connected to: Oracle8i Enterprise Edition Release 8.1.7.0.0 - Production With the Partitioning option
JServer Release 8.1.7.0.0 - Production
Export done in US7ASCII character set and US7ASCII NCHAR character set

About to export specified tables via Conventional Path ... . . exporting table PROCESSING_MESSAGES 0 rows exported Export terminated successfully without warnings.

thanks,

David Ehresmann

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net 
-- 
Author: Ehresmann, David
  INET: David.Ehresmann_at_ps.net 

Fat City Network Services    -- 858-538-5051 http://www.fatcity.com 
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: Guido Konsolke
  INET: Guido.Konsolke_at_tkserv-triaton.thyssenkrupp.com

Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).
Received on Fri Nov 07 2003 - 00:19:36 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US