您当前位置:优侠库 > 资讯攻略 >
来源:未知
2019-08-24 11:16:28 浏览: 分类:资讯攻略

oracle 导出数据再压缩

mybat.bat
sqlplus -s a/a@mydb @d:\a\mysql.sql

Mysql . SQL

Set time off echo off head off-该行设置为不计算时间,不显示SQL语句,不每隔几行显示以下名称
Set pagesize 0-删除显示时没有几行的空行或多余的空单元格[/br Set trims on -删除所有空单元格, 默认长度不足以填充空单元格
set feedback off-不显示所选行数不能与前一行组合
spool d:\ a \ aa1 . txt-output
-content
spool off-停止输出
host d:\ rar.exe a d:\ a \ aa1d:\ a \ aa1 . txt-compress
spool d:\ a \ aa2 . txt[/] txt
host d:\ a \ rar . exe e-o+d:\ a \ Yswj.rar * d:\ a \ a \-解压文件,覆盖
host del d: \ a \ a \ aa1.txt如有重复-删除文件。

测试文件都放在d:\a\目录下,包括mysql.sql文件和rar.exe文件。

关键词:压缩、数据、数据、文件、随机存取

优侠库网站每天提供最新最热门的安卓手机软件、游戏下载、分享热门手游资讯攻略教程、手机软件教程步骤,专注安卓手机游戏软件下载。

本文链接:http://www.123down.cn/gonglue/227211.html

攻略资讯
安卓软件
安卓游戏