Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Re: simple questions
In article <80ouoo$6p8$1_at_news.hk.linkage.net>,
"Alan Sze" <alan_at_icon.com.hk> wrote:
>
You can use DEFINE var_a = <value> at the SQL*Plus prompt, where <value> can be a character string (enclosed by single quotes), or a number.
You can then reference this in your SELECT ... FROM dual as a bind variable :var_a (I think this is right, but I'm away from machine at the moment).
Alternatively, you could try using an anonymous block.
Sent via Deja.com http://www.deja.com/
Before you buy.
Received on Mon Nov 15 1999 - 08:33:15 CST
![]() |
![]() |