免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 2303 | 回复: 2
打印 上一主题 下一主题

请教:bcp的用法!!! [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2007-04-12 16:01 |只看该作者 |倒序浏览
我想用bcp向数据库中拷贝数据,用了以下语句,请各位帮忙看一下,问题出在哪?

bcp IPQOS_db.ipqos.cm:070412 in /opt/sybase-12.5/cm/SYBASE-ZCTT-IPQOS_db-3332-tb_test070412-upsvr-21938-26658.bcp -c -U ipqos -P zcttipqos -S ZCTT

以下是Server提示的问题,也请一并帮忙分析一下:

You cannot run the non-logged version of bulk copy in this database. Please check with the DBO.

CTLIB Message:  - L0/O0/S0/N0/0/0:
blk_init(): blk layer: CT library error: Failed when CT_Lib routine ct_results() called.
blk_init failed.
"/zcbuff/dbbuff/data/dataload-21926-ZCTT-070412-sh.log" 3039L, 135769C   

谢谢!!!

论坛徽章:
0
2 [报告]
发表于 2007-04-12 16:07 |只看该作者
use master
go
sp_dboption IPQOS_db,'select into',true
go
use IPQOS_db
go
checkpoint
go
then redo bcp

论坛徽章:
0
3 [报告]
发表于 2007-04-12 16:11 |只看该作者
Thank you!!!!!!
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP