How can user input be taken using Visual Studio Code for an Oracle Database SQL Query?
SELECT LAST_NAME, SALARY FROM EMPLOYEES WHERE SALARY > &salary;
This is the SQL query when executed in Visual Studio Code throws the below error.
SQL: SELECT LAST_NAME, SALARY FROM EMPLOYEES WHERE SALARY > &salary
Error: ORA-01008: not all variables bound
But when the same query executed in SQL Plus works correctly without any error.