⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 set_scan.txt

📁 orale培训教材包括了所有的sql说明和实例
💻 TXT
字号:
DEF[INE] {&|c|OFF|ON} 
Sets the character used to prefix substitution variables to c. 
ON or OFF controls whether SQL*Plus will scan commands for substitution variables 
and replace them with their values. 
ON changes the value of c back to the default '&', not the most recently used character.
 The setting of DEFINE to OFF overrides the setting of the SCAN variable.
 For more information on the SCAN variable, see the SET SCAN command in Appendix F. 

Controls scanning for the presence of substitution variables and parameters. OFF 
suppresses processing of substitution variables and parameters; ON allows normal processing. 

Syntax
SET SCAN {OFF|ON}

Usage Notes
ON functions in the same manner as SET DEFINE ON. 

set scan off :禁止对置换变量的扫描。把&var就当作一个普通字符。
set scan off
--此句sql存为select.sql
--select * from $table;

@c:/select.sql
set scan on
@c:/select.sql

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -