Sybase:如何显示当前会话变量的值?

Sybase: how to show the values of the current session variables?

我可以做的例子:

> set chained on

但是如何查看 chained 的当前值或所有当前会话变量?

看看这个list of ASE global variables

对于当前链接状态:select @@tranchained

  • returns 如果禁用链接模式则为 0 (set chained off)
  • returns 1 如果启用链接模式 (set chained on )