exp eservices3 tables=email_request_queue query=\"SELECT \/\* rule \*\/ \* FROM
EMAIL_REQUEST_QUEUE WHERE PROFILE_ID = 7 AND STATUS = \'S\' AND request_branch BETWEEN \'0\' AND \'999\' AND trunc\(EFFECTIVE_DATE\) \<= TO_DATE\(\'30-APR-2006\',\'dd-Mon-yyyy\'\)\" file=/oracle/oper/esmail/email_profile7_052006.dmp log=/oracle/oper/esmail/exp_profile7.log
Thanks,
Jay Miller
Sr. Oracle DBA
x68355
-- --Original Message-- -- From: oracle-l-bounce@(protected) [mailto:oracle-l-bounce@(protected)] On Behalf Of JayMiller@(protected) Sent: Friday, May 26, 2006 4:01 PM To: oracle-l@(protected) Subject: RE: Export - can I use a hint or set a session level value?
I am exporting using a query, but since the syntax for doing so only includes the WHERE clause I didn't know where I could place the hint (which usually goes after the select.
query=\"WHERE PROFILE_ID = 7 AND STATUS = \'S\' AND request_branch BETWEEN \'0\' AND \'999\' AND trunc\(EFFECTIVE_DATE\) \<= TO_DATE\(\'30-APR-2006\',\'dd-Mon-yyyy\'\)\"
Actually, now that I think of it perhaps I can add SELECT /*+ index, etc. */ to the query clause. I'll try that now.
Thanks,
Jay Miller
Sr. Oracle DBA
x68355
-- --Original Message-- -- From: Dennis Williams [mailto:oracledba.williams@(protected)] Sent: Friday, May 26, 2006 3:45 PM To: Miller, Jay Cc: oracle-l@(protected) Subject: Re: Export - can I use a hint or set a session level value?
Jay,
Usually people export entire tables, so an index wouldn't be used.
Are you exporting based on a query? Can you put a hint in the query?
Dennis Williams
__ ____ ____ ____ ____ ____ ____
This message is confidential and sent by TD Waterhouse solely for use by the intended recipient. If you are not the intended recipient, you are hereby notified that any use, distribution or copying of this communication is strictly prohibited. This should not be deemed as an offer or solicitation, to buy or sell any product. Any 3rd party information contained herein was prepared by sources deemed reliable, but is not guaranteed. TD Waterhouse does not accept electronic instructions that would require an original signature. Information received by or sent from TD Waterhouse is stored, subject to review, and may be produced to regulatory authorities or others with a legal right to such.
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size: 10.0pt;font-family:Arial;color:navy'>EMAIL_REQUEST_QUEUE WHERE PROFILE_ID = 7 AND STATUS = \'S\' AND request_branch BETWEEN \'0\' AND \'999\' AND trunc \(EFFECTIVE_DATE\) \<= TO_DATE\(\'30-APR-2006\',\'dd-Mon-yyyy\'\)\" file=/oracle/oper/esmail/email_profile7_052006.dmp log=/oracle/oper/esmail/exp _profile7.log</span></font></p>
<p class=MsoNormal style='margin-left:.5in'><font size=2 face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'>-- --Original Message-- --<br> <b><span style='font-weight:bold'>From:</span></b> oracle-l-bounce@(protected) [mailto:oracle-l-bounce@(protected)] <b><span style='font-weight:bold'>On Behalf Of </span></b>JayMiller@(protected)<br> <b><span style='font-weight:bold'>Sent:</span></b> Friday, May 26, 2006 4:01 PM <br> <b><span style='font-weight:bold'>To:</span></b> oracle-l@(protected)<br> <b><span style='font-weight:bold'>Subject:</span></b> RE: Export - can I use a hint or set a session level value?</span></font></p>
<p class=MsoNormal style='margin-left:.5in'><font size=3 face="Times New Roman" ><span style='font-size:12.0pt'> </span></font></p>
<p class=MsoNormal style='margin-left:.5in'><font size=2 color=navy face=Arial> <span style='font-size:10.0pt;font-family:Arial;color:navy'>I am exporting using a query, but since the syntax for doing so only includes the WHERE clause I didn’t know where I could place the hint (which usually goes after the select.</span></font></p>
<p class=MsoNormal style='margin-left:.5in'><font size=2 color=navy face=Arial> <span style='font-size:10.0pt;font-family:Arial;color:navy'>query=\"WHERE PROFILE_ID = 7 AND STATUS = \'S\' AND request_branch BETWEEN \'0\' AND \'999\' AND trunc\(EFFECTIVE_DATE\) \<= TO_DATE\(\'30-APR-2006\',\'dd-Mon-yyyy\'\)\"</span></font></p>
<p class=MsoNormal style='margin-left:.5in'><font size=2 color=navy face=Arial> <span style='font-size:10.0pt;font-family:Arial;color:navy'>Actually, now that I think of it perhaps I can add SELECT /*+ index, etc. */ to the query clause. I’ll try that now.</span></font></p>
<p class=MsoNormal style='margin-left:1.0in'><font size=2 face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'>-- --Original Message-- --<br> <b><span style='font-weight:bold'>From:</span></b> Dennis Williams [mailto:oracledba.williams@(protected)] <br> <b><span style='font-weight:bold'>Sent:</span></b> Friday, May 26, 2006 3:45 PM <br> <b><span style='font-weight:bold'>To:</span></b> Miller, Jay<br> <b><span style='font-weight:bold'>Cc:</span></b> oracle-l@(protected)<br> <b><span style='font-weight:bold'>Subject:</span></b> Re: Export - can I use a hint or set a session level value?</span></font></p>
<p class=MsoNormal style='margin-left:1.0in'><font size=3 face="Times New Roman "><span style='font-size:12.0pt'> </span></font></p>
<div>
<p class=MsoNormal style='margin-left:1.0in'><font size=3 face="Times New Roman "><span style='font-size:12.0pt'>Jay,</span></font></p>
</div>
<div>
<p class=MsoNormal style='margin-left:1.0in'><font size=3 face="Times New Roman "><span style='font-size:12.0pt'> </span></font></p>
</div>
<div>
<p class=MsoNormal style='margin-left:1.0in'><font size=3 face="Times New Roman "><span style='font-size:12.0pt'>Usually people export entire tables, so an index wouldn't be used.</span></font></p>
</div>
<div>
<p class=MsoNormal style='margin-left:1.0in'><font size=3 face="Times New Roman "><span style='font-size:12.0pt'>Are you exporting based on a query? Can you put a hint in the query?</span></font></p>
</div>
<div>
<p class=MsoNormal style='margin-left:1.0in'><font size=3 face="Times New Roman "><span style='font-size:12.0pt'> </span></font></p>
</div>
<div>
<p class=MsoNormal style='margin-left:1.0in'><font size=3 face="Times New Roman "><span style='font-size:12.0pt'>Dennis Williams</span></font></p>
</div>
<p class=MsoNormal style='margin-right:0in;margin-bottom:12.0pt;margin-left: .5in;margin-left:..5in'><font size=3 face="Times New Roman"><span style='font-size:12.0pt'> </span></font></p>
</div>
</body>
</html> <HTML><BODY><P><hr size=1></P><br> <P><STRONG><br> This message is confidential and sent by TD Waterhouse solely for<br> use by the intended recipient. If you are not the intended<br> recipient, you are hereby notified that any use, distribution or<br> copying of this communication is strictly prohibited. This should<br> not be deemed as an offer or solicitation, to buy or sell any<br> product. Any 3rd party information contained herein was prepared by<br> sources deemed reliable, but is not guaranteed. TD Waterhouse does<br> not accept electronic instructions that would require an original<br> signature. Information received by or sent from TD Waterhouse is<br> stored, subject to review, and may be produced to regulatory<br> authorities or others with a legal right to such.<br> </STRONG></P></BODY>