我测试了Sybase ASE jdbc“jconn4.jar”到exec程序。 例如“sp_adduser N'probe',N'test12',N'test_group'”
CallableStatement cstmt = con.prepareCall("sp_adduser N'probe', N'test12', N'test_group'");
执行代码:
cstmt.executeQuery();
OR
cstmt.execute();
但他们都失败了。
有人可以帮我处理这个问题吗?
感谢advence
答案 0 :(得分:0)
It would help if you include the error messages you got -- were there any?
As a first start: try adding the EXECUTE keyword?