一.系统变量分为全局系统变量和会话系统变量:有些变量既是全局系统变量,有些变量只有全局的,有些变量只有会话的. .变量的查询: show global variables like 'log' \G;# 查看全局系统变量的值 show session variables like 'log' \G;# 查看会话系统变量的值 show variables like 'log' \G;# 若会话系统变量存在,不管全局系统变量是否存在,优先返回会话系统变量,若会话系统变量不存在,则返回全局系统变量.…
SqlServer: SELECT * FROM sys.sysobjects WHERE type='U' ORDER BY name SELECT * FROM sys.syscolumns WHERE id=1163151189 SELECT * FROM sys.extended_properties WHERE major_id=1163151189 AND minor_id=9 SELECT a.name, a.id, a.colid, b.value from sys.syscol…
http://dev.mysql.com/doc/refman/5.5/en/server-system-variables.html Table 5.2 System Variable Summary Name Cmd-Line Option File System Var Var Scope Dynamic audit_log_buffer_size Yes Yes Yes Global No audit_log_file Yes Yes Yes Global No audit_log_fl…