Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.tools -> Re: SQL PLUS question
Brian Tkatch <SPAMBLOCK.Maxwell_Smart_at_ThePentagon.com.SPAMBLOCK> schreef in
artikel <3a9a88cf.266100765_at_news.alt.net>...
> You can declare a variable in SQLPLUS with the variable command. The
> PRINT command will show you what the variable equals.
>
> VARIABLE MyVar VARCHAR2
> PRINT MyVar
>
> And do not use ERROR as a variable. It won't work. I found out the
> hard way. :-(
Thank you, but i want to know how to fill that parameter with the result of a query....
> It is all explained in the "SQL*Plus User's Guide and Reference",
> Chapter 3, Subtitle, "Using Bind Variables".
>
I can't acces the WWW from here so i can't look it up.....
> HTH,
> Brian
>
Received on Tue Feb 27 2001 - 01:34:46 CST
![]() |
![]() |