管道问题,苦思一星期没结果,请求帮助!!!
问题:运行到if语句时luo_pipe中的rowsread返回正确记录数,然后就停止。没有提示,但也没有运行数据管道,急!
u_pipeline luo_pipe
luo_pipe = Create u_pipeline
luo_pipe.DataObject = "p_zcgl"
If luo_pipe.Start (remote,sqlca,dw_1) <> 1 Then
messagebox("","导入失败!")
end if
注:
1、remote事物连接另一台Win2000/SQL Server20000,对导出的表有Select 权限。
2、sqlca事物连接本地Win2000/SQL Server20000,数据库角色为db_owner。
3、经测试remote事物与sqlca事物连接正确。
4、在管道画笔中运行"p_zcgl"无任何问题。