判断表是否存在
SELECT table_name FROM information_schema.TABLES WHERE table_name ='yourname';
判断存储过程是否存在
select * from information_schema.ROUTINES a where a.SPECIFIC_NAME='sp_analy setimeout'
mysql 查看是否存在某一张表
猜你喜欢
转载自hck.iteye.com/blog/2165018
今日推荐
周排行