我的电脑里d:/test/test.txt里存着一段代码,我想用sql*plus执行它,怎么弄哦??

wren4255 wren4255 墨衍会员 · AI 创作全网分发 墨衍智能分发 通过墨衍一键同步至各平台 可同步平台 CSDN微信公众号微博知乎掘金百家号博客园抖音小红书 你的文章也可以这样分发 墨衍会员 ¥399起/年,写一次发全网 我也要 + 加入社区
I. 文件命令
a) SAVE filename 把当前SQL缓冲区的内容存储在文件filename 中
b) GET filename 把文件filename 中的内容写入当前SQL缓冲区
c) START filename 执行存储在filename中的内容
d) @ filename 执行存储在filename 中的内容
e) EDIT filename 打开文本编辑器,把当前SQL 缓冲区的内容写入文
件afiedt.buf
f) SPOOL filename 把查询的数据结果存储在filename 中
g) EXIT 退出SQL*Plus


看了上面那些还是不懂!!
大家帮帮忙!!!
谢谢!!!
...全文

相关推荐

最新整理linux重启oracle数据库有哪些怎么使用.docx

最新整理linux重启oracle数据库有哪些怎么使用.docx

进击的朱亚文

Oracle数据导入导出impexp.txt

Oracle数据导入导出impexp.txtOracle数据导入导出impexp.txtOracle数据导入导出impexp.txtOracle数据导入导出impexp.txtOracle数据导入导出impexp.txtOracle数据导入导出impexp.txtOracle数据导入导出impexp.txtOracle数据导入导出impexp.txtOracle数据导入导出impexp.txtOracle数据导入导出impexp.txtOracle数据导入导出impexp.txtOracle数据导入导出impexp.txtOracle数据导入导出impexp.txtOracle数据导入导出impexp.txtOracle数据导入导出impexp.txtOracle数据导入导出impexp.txt

wangyong19781207

oracle导入导出语句.txt

oracle导入导出语句 oracle导入导出语句

eddie

javaoracle

自己开发过程中总结的一些经验,在经验中获取的里弄

chaiwenhui890316

T100 数据还原.txt

1、找到昨晚备份,用root用户解压:gunzip -d exp_hc01.dmp.gz 2、如果toptet数据库开了就进toptst里去 进toptet数据库:sqlplus sys/tiptop100@toptst as sysdba 执行: create user test identified by test default tablespace dbs1 temporary tablespace temp; grant create session,create table to test; grant resource to test; grant create synonym to test; grant select on sys.v_$session to test; 3、 用tiptop进系统 cd /u3 mkdir imp cp /u3/backup/Wed/exp_hc01.dmp /u3/imp ----看你exp_hc01.dmp文件在哪 chmod 777 -R imp 导数据:即把pia_file这张边恢复到了toptst实例中的test用户中 imp test/test@toptst file=/u3/imp/exp_hc01.dmp log=/tmp/imp_pia.log fromuser=hc01 touser=test tables=pia_file

fengyue880828
评论 8
收藏 已收藏
分享
返回顶部
wren4255
Oracle 17,133 成员 55,258 内容