There are two types of variables in the Oracle world: substitution variables and bind variables. It's important to remember that you can't use substitution variables in Sql Developer, but you can use bind variables. The syntax for bind variables is the following:
variable custno number
exec : custno := 99
Select * from customer where customerId = : custno;
Now I'll remember.
No comments:
Post a Comment