Questions tagged [substitution-variables]

3 questions
1
vote
1 answer

How to use substitution variables in Oracle APEX

I've tried everything I can find on the internet but something's just not working. I've heard that you can use substitution variables in Oracle APEX SQL Workshop by putting a string that starts with an ampersand like so: SELECT * FROM orders WHERE…
Ben
  • 82
  • 11
0
votes
1 answer

How to pass a value to a subtitution variable using select script

I have a SQL script in which I declare some substitution variables at the top. The purpose of the script is to create a set of tables and views on a bunch of Oracle schemas when doing multi tenant deployment. In one of the scripts that creates…
0
votes
2 answers

Getting a PLS-00103 error while excecting a program to find factorial in PL/SQL

So this is my code which I executed in sqllive online ide. declare fac number := 1; n number := &1; begin while n > 0 loop fac := n*fac; n := n-1; end loop; …
TMK
  • 61
  • 1
  • 7