SQL Single Ampersand substitution example | Oracle SQL fundamentals

preview_player
Показать описание
By using the single ampersand (&), #database understands that it needs to ask for user input, but only for #view purposes. It does not store the #data physically, instead, it discard changes right after code is executed. If the variable does not exist, user is prompted every time time the command is executed.
#SELECT employee_id, salary, &column_name
#FROM employees;

Рекомендации по теме
Комментарии
Автор

can we '&' in oracle stored Procedure ?

parthparth