Oracle

Using the && Substitution variable

Figo Kim 2006. 8. 29. 00:12
336x280(권장), 300x250(권장), 250x250, 200x200 크기의 광고 코드만 넣을 수 있습니다.


UNDEFINE employee_num

Use the double ampersand(&&) if you wantto reuse the ariable value without prompting the user each time:


SELECT employee_id, last_name, job_id, &&column_name 
FROM employees
ORDER BY &column_name

Use DEFINE command to create and assign a value to a variable

Use UNDEFINE  command to remove a variable

DEFINE employee_num = 200

SELECT employee_id,last_name, salary, department_id
FROM employees
WHERE employee_id = &employee_num;


'Oracle' 카테고리의 다른 글

Date Functions  (0) 2006.08.30
Date Functions  (0) 2006.08.30
Using the && Substitution variable  (0) 2006.08.29
Substitution Variable  (0) 2006.08.28
Substitution Variable  (0) 2006.08.28