歡迎來到Linux教程網
Linux教程網
Linux教程網
Linux教程網
Linux教程網 >> Linux編程 >> SHELL編程 >> Unix 下使用 DB: “go” shell

Unix 下使用 DB: “go” shell

日期:2017/2/28 11:24:55   编辑:SHELL編程


sybase
--------------------------
### go shell for sybase
isql -Uibs -Pibsibs< $*
go
EOF
--------------------------
###bcpin
bcp $1 in $1.txt -Uusername -Ppwd -Sservername -c -t'|'

###bcpout
bcp $1 out $1.txt -Uusername -Ppwd -Sservername -c -t'|'


db2
# go shell for db2
db2 < connect to your_db_name;
$*
quit;
Copyright © Linux教程網 All Rights Reserved