比如mysql就可以用
select count(*) from information_schema.tables where table_schema='your_schema' and table_name='your_tab'
来判断
主要是为了实现在创建新的临时表之前如果检测到临时表已经存在就先执行Drop
求解答
...全文
18736打赏收藏
informix如何判断一个临时表是否存在?
如题 刚刚开始接触Informix,资料实在是太少了 比如mysql就可以用 select count(*) from information_schema.tables where table_schema='your_schema' and table_name='your_tab' 来判断 主要是为了实现在创建新的临时表之前如果检测到临时表已经存在就先执行Drop 求解答