一。 sybase bcp 导入导出数据
bcp 数据库名..表名 in d:\表名.txt -c -U用户名 -P用户密码 -S数据库服务器名
bcp 数据库名..表名 out d:\表名.txt -c -U用户名 -P用户密码 -S数据库服务器名
二。 sybase 查看库中的数据表名
>use dbname
>go
>select name from sysobjects where type = 'U'
>go
三。 sybase 查看表结构
>sp_help tablename
四。 sybase 清空表
>truncate table tablename
五。 sybase 执行sql脚本
isql -Usa -Pxxxx -b -i xxx.sql -o outfile
-i 脚本路径及名称
-o 日志输出
-b 按脚本格式导入