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: Why would concatenating a variable to a variable give an error in pl/sql?

Re: Why would concatenating a variable to a variable give an error in pl/sql?

From: Billy <vslabs_at_onwe.co.za>
Date: 6 Jun 2005 23:51:45 -0700
Message-ID: <1118127105.141547.19960@o13g2000cwo.googlegroups.com>


colin_lyse wrote:
>
> we are doing the following (code not complet took parts out for brevity)
<snipped>

Back in the 80s' we coded something like CALL GETEMPRECORD USING ID RETURN EMP_REC. And then we had to code the GETEMPRECORD. And cater for every single criteria that could be passed. And deal with different sort orders and what not. And winded up with 50 or more versions of GETEMPRECORD.

How we wished for a method that allowed you to dynamically just say what you want.

Then SQL came along. It was kewl. We chucked away the 50 versions of GETEMPRECORD and use SQL instead. A lot more flexible. A lot more powerful. A lot more easier to read and maintain

Fast forward to the 21st century.

Now we have developers that look at SQL and goes "Duh... this is friggen too complex!" And the proceed to write 50 versions of getPCBDetailResults using dynamic and non-shareable and bind-less SQL... Progress is great, huh?

--
Billy
Received on Tue Jun 07 2005 - 01:51:45 CDT

Original text of this message

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