可移植SQL确定表是否存在?

问题描述:

有没有一种确定数据库表是否已经存在的便携式方法?

Is there a portable way of determining if a database table already exists or not?

是否可移植?我不这么认为.

Portable? I don't think so.

也许您可以获得的最接近的是:

Maybe the closest you can get is:

select * from <table>

如果表不存在,这将返回错误.

And this would return an error if the table doesn't exist.