关于sqlplus的简单概述
2013-06-05 10:50
155 查看
sqlplus
interactive and batch query tool that is installed with every oracle database installation
SQL*PLUS Environment Variables
ORACLE_HOME:specify where oracle software is installer,it is also userd by SQL*PLUS to specify where message files are located
ORACLE_SID :to specify the database instance,ptional to SQL*PLUS
PATH:to specify the path to search for executables and DLLs in windows,typically includes ORACLE_HOME/bin
TNS_ADMIN:specify the location of the tnsnames.ora file
LD_LIBRARY_PATH:specify the path used to search for libraies on unix and linux ,not applicable to windows
SQLPATH:specify the location of SQL scripts
the SQL Buffer
the sql buffer sotres the most recently enterd SQL command or PL/SQL block,the command or blcok remains in the buffer until replaced by the next SQL command or PL/SL block,can view the buffer contents with the LIST command
can excute the command or block in the sql buffer using the RUN or / (slash) commands,the difference is RUN display the command or block in the buffer before excuting it,/ without displaying it first
you can use SAVE command to save the contents in the SQL buffer into a file
interactive and batch query tool that is installed with every oracle database installation
SQL*PLUS Environment Variables
ORACLE_HOME:specify where oracle software is installer,it is also userd by SQL*PLUS to specify where message files are located
ORACLE_SID :to specify the database instance,ptional to SQL*PLUS
PATH:to specify the path to search for executables and DLLs in windows,typically includes ORACLE_HOME/bin
TNS_ADMIN:specify the location of the tnsnames.ora file
LD_LIBRARY_PATH:specify the path used to search for libraies on unix and linux ,not applicable to windows
SQLPATH:specify the location of SQL scripts
the SQL Buffer
the sql buffer sotres the most recently enterd SQL command or PL/SQL block,the command or blcok remains in the buffer until replaced by the next SQL command or PL/SL block,can view the buffer contents with the LIST command
can excute the command or block in the sql buffer using the RUN or / (slash) commands,the difference is RUN display the command or block in the buffer before excuting it,/ without displaying it first
you can use SAVE command to save the contents in the SQL buffer into a file
相关文章推荐
- 关于sqlplus的简单概述
- 关于LEE对<搜索引擎抓取系统概述>的简单分析与小结
- 关于Objective-C Runtime的简单概述
- 关于“7个好习惯”的简单概述
- 关于java生成jar,jar转换成exe,exe转成windows下的服务,做成批处理的简单概述
- 关于使用js实现按期间查询的简单demo
- 关于解决ListCtrl的头标题栏的鼠标状态问题的简单做法
- ABAP--关于ABAP Dictionary的一些简单问题
- java虚拟机-简单概述(五月的仓颉)
- SQL2005中关于XML新特性的学习(2)--创建XML索引及简单查询
- Android 关于Activity的四种启动模式的简单介绍
- 关于GridView中自定义分页、单选、多选、排序、自增列的简单应用
- 关于磁力链接(Magnet URI)的简单介绍
- Mark关于mybatis的一些简单东西
- 关于volatile的简单阐述
- PHP关于简单的页面缓冲技术
- 关于strtok的一点简单认识
- 简单JSP实例,关于POST方法
- 关于git的简单使用
- 关于分布式和集群的简单概念