关于sqlplus的简单概述

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
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值