您好,欢迎访问一九零五行业门户网

MySQL和sqlserver中判断表是否存在语句_MySQL

bitscn.com
mysql和sqlserver中判断表是否存在语句
mysql:
select count(*) from information_schema. tables where table_name=表名;
// 是双引号
值为1 表示存在该表; 为0 不存在表。
sqlserver:
select 1 from sysobjects where name='表名' ;
值为1 表示存在表, 为null 不存在表。
bitscn.com
其它类似信息

推荐信息