Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: Tuning the DUAL table
On Wed, 19 Mar 2003 22:25:16 GMT, andreyNSPAM_at_bookexchange.net
(NetComrade) wrote:
>we have a function that basicly does this:
>(first name last name to lastname firstname)
>
>SELECT CONCAT(SUBSTR(:b1,0,(INSTR(:b1,',') + 2 )),'.')
>FROM DUAL
The select from dual is completely unnecessary in your example.
A simple assignment would have done. Remove the select and you will
loose the 5 gets.
Sybrand Bakker, Senior Oracle DBA
To reply remove -verwijderdit from my e-mail address Received on Wed Mar 19 2003 - 17:10:08 CST