日积月累
ljamie
这个作者很懒,什么都没留下…
展开
-
GendaTa.sh
#!/bin/sh#GendaTa.shecho "Please input the name of the table";read table_name;echo "Please input the amount of the data";read data_amount;sqlplus -s vpn123/vpn123@vpndb#set heading off;set feedback;s原创 2009-07-23 17:26:00 · 536 阅读 · 0 评论 -
SQLPLUS中删除冗余信息
set heading off --不显示列名 set feedback off --不显示返回行数 set pagesize 0 --不分页 set trimspool on --截掉每一行最后的空格原创 2009-07-23 10:38:00 · 534 阅读 · 0 评论 -
自动生成数据shell脚本
#!/bin/sh#用法:sh ./脚本名 用户名 密码 数据库实例名 表名 插入的记录数量#参数判断if [ $# -ne 5 ]then echo "Params Input Error !/n" echo "Usage:$0 UserName PassWord InstanceName TableName InsertCount/n" exit 1fi#变量定义 USERNAME=$1原创 2009-07-24 22:57:00 · 832 阅读 · 0 评论