我有一个导致截断错误的长SyBase查询。如果我在ISQL中运行它,我会得到行号错误,但是,行号是查询的开始,所以它不会告诉我哪个字段导致截断错误。我如何调试它并获得更多关于错误的相关信息?
发布于 2015-01-12 16:08:06
我使用print命令查找出错的地方。例如:
print '1'
select * from tab
print '2'
insert into tab..
print '3'
update ...
print '4'您也可以使用ASE ISQL工具。有用于调试的工具,请参阅Debug菜单中的How to debug。
https://stackoverflow.com/questions/27827286
复制相似问题