数据管道执行错误的问题

zhu_cb 2002-12-13 11:12:38
各位老大,我利用数据管道将数据从sqlanywhere传到sybase,执行start函数启动数据管道后,写入200或300条纪录就会报错
err: -16 Error in source database,但是手工执行该数据管道则没有问题。源数据库的错误会是什末?max errors已改为no limit.













...全文
32 6 打赏 收藏 转发到动态 举报
写回复
用AI写文章
6 条回复
切换为时间正序
请发表友善的回复…
发表回复
zhu_cb 2002-12-13
  • 打赏
  • 举报
回复
既然可以执行成功200条,说明数据库联接没问题
xiaobzg 2002-12-13
  • 打赏
  • 举报
回复
数据库连接是否正确?
zhu_cb 2002-12-13
  • 打赏
  • 举报
回复
ls_pipesyn=ls_pipeline1+"~r~n"+ls_pipeline2+"~r~n"+ls_pipeline3+"~r~n"+ls_pipeline4
iuo_tranpipe.syntax=ls_pipesyn //将数据管道语法字符串赋值给Syntax属性
li_return=iuo_tranpipe.start(sqlca,sqlca_server,dw_1) //启动数据管道
if li_return < 0 then
messagebox('系统提示',LS_TABLE+'数据转换错误')
messagebox('',li_return)
return
end if

ls_pipesyn为动态生成数据管道的语法,语法没问题,用该语法产生的pipeline可以进行大数据量的迁移。
xiaobzg 2002-12-13
  • 打赏
  • 举报
回复
是通过用户对象调用数据管道?
代码帖一下
flyhot 2002-12-13
  • 打赏
  • 举报
回复
gz!
888888888888 2002-12-13
  • 打赏
  • 举报
回复
同意楼上看法

1,076

社区成员

发帖
与我相关
我的任务
社区描述
PowerBuilder 相关问题讨论
社区管理员
  • 基础类社区
  • WorldMobile
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧