查询ORACLE字符集
 --select userenv('language') from dual;
--select * from v$nls_parameters;
--select * from nls_database_parameters;
--select * from sys.props$;

mysql:show variables like '%char%';

SQLSERVER:
user master
select SERVERPROPERTY(N'edition') as Edition     --数据版本,如企业版、开发版等
	,SERVERPROPERTY(N'collation') as Collation   --数据库字符集
	,SERVERPROPERTY(N'servername') as ServerName --服务名
	,@@VERSION as Version   --数据库版本号
	,@@LANGUAGE AS Language  --数据库使用的语言,如us_english等

  

我要把所有的坑都趟平!