通过系统表自动生成SYBASE ASE的bcp脚本
select 'bcp '+rtrim(db_name())+'..'+rtrim(name)+' out d:'+rtrim(db_name())+''+rtrim(name)+' -Uusername -Ppassword -Sdbserver -c'
from sysobjects where type='U'
;
通过系统表自动生成SYBASE ASE的bcp脚本
select 'bcp '+rtrim(db_name())+'..'+rtrim(name)+' out d:'+rtrim(db_name())+''+rtrim(name)+' -Uusername -Ppassword -Sdbserver -c'
from sysobjects where type='U'
;