免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
12下一页
最近访问板块 发新帖
查看: 13971 | 回复: 11

ASE12.5全局变量(仅供参考,非官方资料,本人个人积累) [复制链接]

论坛徽章:
0
发表于 2005-04-20 09:53 |显示全部楼层
@@authmech
,@@monitors_active   
,@@version_number   
,@@msgschema
,@@msgreplytoinfo   
,@@msgstatusinfo
,@@msgstatus
,@@msgid
,@@msgtimestamp  
,@@msgproperties
,@@msgheader
,@@recovery_state   
,@@max_precision
,@@lock_timeout  
,@@datefirst
,@@tempdbid  
,@@bootcount
,@@boottime  
,@@bulkarraysize
,@@bulkbatchsize
,@@stringsize   
,@@invalidsuid   
,@@maxspid   
,@@minspid   
,@@version_as_integer   
,@@unicharsize   
,@@min_poolsize  
,@@heapmemsize   
,@@maxpagesize   
,@@invaliduserid
,@@guestuserid   
,@@probesuid
,@@maxgroupid   
,@@mingroupid   
,@@maxuserid
,@@minuserid
,@@maxsuid   
,@@minsuid   
,@@ha_local_nodeid   
,@@crthaproxy   
,@@errorlog  
,@@haconnection  
,@@failedoverconn   
,@@hacmpservername   
,@@cmpstate  
,@@remotestate   
,@@localstate   
,@@nodeid   
,@@curloid   
,@@textptr_parameters   
,@@transactional_rpc
,@@cis_rpc_handling  
,@@cis_version   
,@@scan_parallel_degree  
,@@parallel_degree   
,@@textcolid
,@@textdbid  
,@@textobjid
,@@textts   
,@@textptr   
,@@identity  
,@@mempool_addr  
,@@shmem_flags   
,@@kernel_size   
,@@kernel_addr   
,@@transtate
,@@char_convert  
,@@maxcharlen   
,@@client_csexpansion   
,@@client_csname
,@@client_csid   
,@@ncharsize
,@@thresh_hysteresis
,@@pagesize  
,@@langid   
,@@language  
,@@servername   
,@@isolation
,@@tranchained   
,@@textsize  
,@@spid  
,@@max_connections   
,@@dbts  
,@@timeticks
,@@options   
,@@total_errors  
,@@total_write   
,@@total_read   
,@@packet_errors
,@@connections   
,@@pack_sent
,@@pack_received
,@@idle  
,@@io_busy   
,@@cpu_busy  
,@@version   
,@@trancount
,@@nestlevel
,@@procid   
,@@rowcount  
,@@error
,@@sqlstatus

论坛徽章:
0
发表于 2005-04-20 13:59 |显示全部楼层

ASE12.5全局变量(仅供参考,非官方资料,本人个人积累)

@@authmech
@@bootcount
@@boottime
@@bulkarraysize
@@bulkbatchsize
@@char_convert
@@cis_rpc_handling
@@cis_version
@@client_csexpansion
@@client_csid
@@client_csname
@@cmpstate
@@connections
@@cpu_busy
@@curloid
@@datefirst
@@dbts
@@error
@@errorlog
@@failedoverconn
@@guestuserid
@@hacmpservername
@@haconnection
@@heapmemsize
@@identity
@@idle
@@invaliduserid
@@io_busy
@@isolation
@@kernel_addr
@@kernel_size
@@langid
@@language
@@lock_timeout
@@maxcharlen
@@maxgroupid
@@maxpagesize
@@maxspid
@@maxsuid
@@maxuserid
@@max_connections
@@max_precision
@@mempool_addr
@@mingroupid
@@minspid
@@minsuid
@@minuserid
@@min_poolsize
@@monitors_active
@@ncharsize
@@nestlevel
@@nodeid
@@options
@@packet_errors
@@pack_received
@@pack_sent
@@pagesize
@@parallel_degree
@@probesuid
@@procid
@@recovery_state
@@rowcount
@@scan_parallel_degree
@@servername
@@shmem_flags
@@spid
@@sqlstatus
@@ssl_ciphersuite
@@stringsize
@@tempdbid
@@textcolid
@@textdbid
@@textobjid
@@textptr
@@textptr_parameters
@@textsize
@@textts
@@thresh_hysteresis
@@timeticks
@@total_errors
@@total_read
@@total_write
@@tranchained
@@trancount
@@transactional_rpc
@@transtate
@@unicharsize
@@version
@@version_as_integer

论坛徽章:
0
发表于 2005-04-21 14:35 |显示全部楼层

ASE12.5全局变量(仅供参考,非官方资料,本人个人积累)

我正想了解这方面的内容,变量这么多,怎么知道它们对应的都是什么意思?

论坛徽章:
0
发表于 2005-04-21 14:53 |显示全部楼层

ASE12.5全局变量(仅供参考,非官方资料,本人个人积累)

你可以自己去判断,去select看什么东西

论坛徽章:
0
发表于 2005-04-22 14:37 |显示全部楼层

ASE12.5全局变量(仅供参考,非官方资料,本人个人积累)

蠻有用的文件,謝謝囉,馬上去試試

论坛徽章:
0
发表于 2005-05-25 10:45 |显示全部楼层

ASE12.5全局变量(仅供参考,非官方资料,本人个人积累)

很不错的东西,谢谢楼主啦!

论坛徽章:
0
发表于 2005-05-25 13:40 |显示全部楼层

ASE12.5全局变量(仅供参考,非官方资料,本人个人积累)

如何执行这些全局变量,我执行后显示如下
1>; select @@version_number
2>; go
Msg 137, Level 15, State 2:
Line 1:
Must declare variable '@@version_number'.

论坛徽章:
0
发表于 2005-05-25 14:30 |显示全部楼层

ASE12.5全局变量(仅供参考,非官方资料,本人个人积累)

你的版本估计比较低,这个是12.5版本以上的

论坛徽章:
0
发表于 2007-06-27 16:11 |显示全部楼层
不错,收到,感谢!!!

论坛徽章:
0
发表于 2007-06-28 09:45 |显示全部楼层
原帖由 jys1059 于 2005-5-25 13:40 发表
如何执行这些全局变量,我执行后显示如下
1>; select @@version_number
2>; go
Msg 137, Level 15, State 2:
Line 1:
Must declare variable '@@version_number'.


直接select @@version就可以吧
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP