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

Home -> Community -> Mailing Lists -> Oracle-L -> RE: Setting Cursor Sharing = Force in 8.1.7.3

RE: Setting Cursor Sharing = Force in 8.1.7.3

From: Jamadagni, Rajendra <Rajendra.Jamadagni_at_espn.com>
Date: Fri, 27 Sep 2002 14:03:45 -0800
Message-ID: <F001.004DBBF8.20020927140345@fatcity.com>


Content-Type: multipart/alternative;
 boundary="----_=_NextPart_001_01C26669.4248C620" ------_=_NextPart_001_01C26669.4248C620
Content-Type: text/plain;
 charset="iso-8859-1"

We had problems with FORCE setting on 901x. The query it was changing to bind variables was

select to_char(sysdate,:b1)
from dual
/

Now :b1 is a format mask supplied by developer. Initially it would work fine and then start throwing ORA-600. After analysis Oracle found that when first time a format mask was supplied, it allocated enough bytes to hold the value of the format mask e.g. 'MMDDYY', but next time if you used 'MMDDYYYY' it occasionally threw a fit, saying it can't fit 'MMDDYYYY' in space for 'MMDDYY', which makes sense, but it was actually an memory allocation problem.

I think we received a patch to resolve that issue. It is so old, I can't even look it up in our TAR list. I don't know about the 8i part of it though.

Raj



Rajendra Jamadagni MIS, ESPN Inc.
Rajendra dot Jamadagni at ESPN dot com
Any opinion expressed here is personal and doesn't reflect that of ESPN Inc.

QOTD: Any clod can have facts, but having an opinion is an art!

------_=_NextPart_001_01C26669.4248C620
Content-Type: text/html;
 charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
5.5.2654.19">
<TITLE>RE: Setting Cursor Sharing =3D Force in 8.1.7.3</TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=3D2>We had problems with FORCE setting on 901x. The query =
it was changing to bind variables was </FONT>
</P>

<P><FONT SIZE=3D2>select to_char(sysdate,:b1)</FONT>
<BR><FONT SIZE=3D2>from dual</FONT>
<BR><FONT SIZE=3D2>/</FONT>
</P>

<P><FONT SIZE=3D2>Now :b1 is a format mask supplied by developer. =
Initially it would work fine and then start throwing ORA-600. After = analysis Oracle found that when first time a format mask was supplied, = it allocated enough bytes to hold the value of the format mask e.g. = 'MMDDYY', but next time if you used 'MMDDYYYY' it occasionally threw a = fit, saying it can't fit 'MMDDYYYY' in space for 'MMDDYY', which makes = sense, but it was actually an memory allocation problem.</FONT></P>

<P><FONT SIZE=3D2>I think we received a patch to resolve that issue. It =
is so old, I can't even look it up in our TAR list. I don't know about = the 8i part of it though.</FONT></P>

<P><FONT SIZE=3D2>Raj</FONT>
<BR><FONT =

SIZE=3D2>______________________________________________________</FONT>

<BR><FONT SIZE=3D2>Rajendra Jamadagni&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; MIS, ESPN Inc.</FONT>
<BR><FONT SIZE=3D2>Rajendra dot Jamadagni at ESPN dot com</FONT>
<BR><FONT SIZE=3D2>Any opinion expressed here is personal and doesn't =
reflect that of ESPN Inc. </FONT>
<BR><FONT SIZE=3D2>QOTD: Any clod can have facts, but having an opinion =
is an art!</FONT>
</P>

</BODY>
</HTML>

------_=_NextPart_001_01C26669.4248C620--

------=_NextPartTM-000-68e9548b-e36a-4a4f-acf8-24479c0c891c Content-Type: text/plain;
 name="ESPN_Disclaimer.txt"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
 filename="ESPN_Disclaimer.txt"

*********************************************************************This e-mail message is confidential, intended only for the named recipient(s) above and may contain information that is privileged, attorney work product or exempt from disclosure under applicable law. If you have received this message in error, or are not the named recipient(s), please immediately notify corporate MIS at (860) 766-2000 and delete this e-mail message from your computer, Thank you.*********************************************************************1

------=_NextPartTM-000-68e9548b-e36a-4a4f-acf8-24479c0c891c--

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Jamadagni, Rajendra
  INET: Rajendra.Jamadagni_at_espn.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 Sep 27 2002 - 17:03:45 CDT

Original text of this message

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