Sybase ASE系统存储过程什么都没有返回

时间:2016-04-04 05:13:45

标签: sql sybase sybase-ase

系统存储过程(例如sp_displayrolessp_helpdevice等等)都没有返回任何内容。当我运行sp_helpdevice;时,我得到的所有返回值都是字符串' sp_helpdevice'。知道怎么检查出错了吗?

我想查看哪些设备存在,因此我可以运行ALTER DATABASE <database> LOG ON <device>= '20m';以允许更大的事务日志。

编辑: 我对sa_role有适当的许可。

1 个答案:

答案 0 :(得分:0)

I have resolved the problem. I was running the queries via Oracle SQL Developer. It was giving problems probably due to the SQL developer's Sybase DB driver not being very compatible with ASE v16. After using the native ISQL, I can see the results formatted properly.