如果存在于netezza中则丢弃 [英] Drop if exists in netezza

查看:118
本文介绍了如果存在于netezza中则丢弃的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如果 NETEZZA 中存在表格,我需要一个删除表格的命令,类似于:

I need a command to delete a table if that exists in NETEZZA, Something like that:

drop table if exists xxx;

我搜索并试过很多但是没有用。你能在这帮我吗?

I have searched and tried many but it didn't work. Can you help me here?

推荐答案

netezza 你可以用这个语法:

drop table table_name if exists;

这篇关于如果存在于netezza中则丢弃的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆