Bonediggler1
Technical User
Hi-
I learned SQL on MS SQL Server and am trying to declare and use variables now in Oracle. I am using Toad as an interface. This should be extremely simple but I cannot get it to work...below is an example of what I am trying to do:
VARIABLE VAR1 NUMBER
:VAR1 = 1
SELECT * FROM "TRANSACTION" TT WHERE TT.BLLNG_ID =:VAR1
Thank you!
I learned SQL on MS SQL Server and am trying to declare and use variables now in Oracle. I am using Toad as an interface. This should be extremely simple but I cannot get it to work...below is an example of what I am trying to do:
VARIABLE VAR1 NUMBER
:VAR1 = 1
SELECT * FROM "TRANSACTION" TT WHERE TT.BLLNG_ID =:VAR1
Thank you!