【文章內(nèi)容簡介】
FROM employees ORDER BY column_name。 使用 () 避免為同一變量重復賦值。 … 變量 714 Copyright 169。 Oracle Corporation, 2023. All rights reserved. old 3: WHERE employee_id = employee_num new 3: WHERE employee_id = 200 VERIFY 命令 使用 VERIFY 在 iSQL*Plus 中顯示變量被替代前和變量被替代后 的 SQL語句。 SET VERIFY ON SELECT employee_id, last_name, salary, department_id FROM employees WHERE employee_id = employee_num。 715 Copyright 169。 Oracle Corporation, 2023. All rights reserved. iSQL*Plus 環(huán)境 ? 使用 SET 命令控制當前會話。 ? 使用 SHOW 命令顯示當前的設(shè)置。 SET ECHO ON SHOW ECHO echo ON SET system_variable value 716 Copyright 169。 Oracle Corporation, 2023. All rights reserved. SET 命令 ? ARRAYSIZE {20 | n} ? FEEDBACK {6 | n |OFF | ON} ? HEADING {OFF | ON} ? LONG {80 | n}| ON | text} SET HEADING OFF SHOW HEADING HEADING OFF 717 Copyright 169。 Oracle Corporation, 2023. All rights reserved. iSQL*Plus 格式命令 ? COLUMN [column option] ? TTITLE [text | OFF | ON] ? BTITLE [text | OFF | ON] ? BREAK [ON report_element] 718 Copyright 169。 Oracle Corporation, 2023. All rights reserved. COLUMN 命令 控制列的輸出: ? CLE[AR]: 清除列格式 ? HEA[DING] text: 設(shè)置列頭 ? FOR[MAT] format: