mybatis如何判断表是不是存在

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了mybatis如何判断表是不是存在相关的知识,希望对你有一定的参考价值。

参考技术A 1. java mybatis后台判断表是否存在mysql

<select id="isTableExist" parameterType="string" resultType="int">    select count(*) from information_schema.TABLES where table_name = #tableName<br></select>

以上是关于mybatis如何判断表是不是存在的主要内容,如果未能解决你的问题,请参考以下文章