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

Home -> Community -> Usenet -> c.d.o.server -> Re: Export Table Using QUERY Parameter with Dates

Re: Export Table Using QUERY Parameter with Dates

From: Mark D Powell <Mark.Powell_at_eds.com>
Date: 15 Oct 2005 19:10:20 -0700
Message-ID: <1129428620.271825.289460@f14g2000cwb.googlegroups.com>


Michael, I am not in front of a computer with access to a UNIX system and Oracle right now but if you provide the query clause on the command line you code only the where clause which must apply to all tables in the export and you enclose the entire where cause in douwble quotes. You have to escape any UNIX meta-characters that appear in the query such as ">"

exp file=qpp tables=x query=\"where qs_date_stamp \< (sysdate - 180)\"

so in your case something like "where tbl_col between to_date('2002-07-01','YYYY-MM-DD') ..."

Give it a shot. You should be able to get it fairly quickly.

HTH -- Mark D Powell -- Received on Sat Oct 15 2005 - 21:10:20 CDT

Original text of this message

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