Database / SQL
Explain bind variable in SQL.
A placeholder in a SQL statement that must be replaced with a valid value or value address for the statement to execute successfully.
By using bind variables, you can write a SQL statement that accepts inputs or parameters at run time. The following example shows a query that uses v_empid as a bind variable:
SELECT * FROM employees WHERE employee_id = :v_empid;
More Related questions...