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: Is this a bug?

Re: Is this a bug?

From: Serge Rielau <srielau_at_ca.ibm.com>
Date: Thu, 04 Jan 2007 19:45:07 -0500
Message-ID: <505lckF1dnetrU1@mid.individual.net>


Galen Boyer wrote:

> On Thu, 04 Jan 2007, damorgan_at_psoug.org wrote:

>> Anurag Varma wrote:
>>> DA Morgan wrote:
>> I would agree that throwing an error would be a "nice to have" but I
>> wouldn't call it a bug any more than I would expect Oracle to hold my
>> hand if I am fool enough to write this code.
>>
>> CREATE SYNONYM dummy FOR dual;
>>
>> set serveroutput on
>>
>> DECLARE
>> dummy VARCHAR2(1);
>> BEGIN
>> SELECT dummy
>> INTO dummy
>> FROM dummy;
>>
>> dbms_output.put_line(dummy);
>> END;
>> /
> 
> You don't think that out of the thousands of people using the product,
> there aren't quite a few people who would make this simple mistake?
> 

OK, I bite. What's wrong with the code? (I mean beyond being silly)
-- 
Serge Rielau
DB2 Solutions Development
IBM Toronto Lab

WAIUG Conference
http://www.iiug.org/waiug/present/Forum2006/Forum2006.html
Received on Thu Jan 04 2007 - 18:45:07 CST

Original text of this message

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