This might help:
http://www.adp-gmbh.ch/ora/sqlplus/use_vars.html


On Fri, Jul 15, 2011 at 11:15 AM, Spero <robsp...@gmail.com> wrote:

> I am missing somthing very stupid here, but how do I the below to work
> in Oracle enviornment?
>
> DECLARE @Var1 INT
> DECLARE @Var2 INT
> SET @Var1 = 1
> SET @Var2 = 2
> SELECT @Var1 'Var1', @Var2 'Var2'
>
> --
> You received this message because you are subscribed to the Google
> Groups "Oracle PL/SQL" group.
> To post to this group, send email to Oracle-PLSQL@googlegroups.com
> To unsubscribe from this group, send email to
> oracle-plsql-unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/Oracle-PLSQL?hl=en
>

-- 
You received this message because you are subscribed to the Google
Groups "Oracle PL/SQL" group.
To post to this group, send email to Oracle-PLSQL@googlegroups.com
To unsubscribe from this group, send email to
oracle-plsql-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/Oracle-PLSQL?hl=en

Reply via email to