会员
周边
众包
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
蒾途の燄
博客园
首页
新随笔
联系
订阅
管理
2011年12月8日
Sql Server 导出数据至物理文件,再导回到数据库
摘要: 从服务器导出数据至txt文件(含用户名,密码)EXEC master..xp_cmdshell 'bcp "select * from ssKnitYY..orders" queryout "c:\DT.txt" -c -S"192.168.0.8" -U"sa" -P"000000"' “c:\DT.els” 将txt数据导入到数据库(含用户名,密码)EXEC master..xp_cmdshell 'bcp "YUAN_Test..orders"
阅读全文
posted @ 2011-12-08 12:47 蒾途の燄
阅读(480)
评论(0)
推荐(0)
编辑
公告