当前位置:网站首页>If MySQL / SQL server judges that the table or temporary table exists, it will be deleted
If MySQL / SQL server judges that the table or temporary table exists, it will be deleted
2022-04-23 02:42:00 【An effort to XX program yuan】
MySQL
- Delete if the table exists ,table_name It's the name of the watch
DROP TABLE IF EXISTS table_name;
SQL Server
- If it is judged that the temporary table exists, delete ,#temp Is the name of the temporary table
if object_id('tempdb..#temp') is not null
drop table #temp
- Delete if the table exists ,t_table It's the name of the watch
if object_id('t_table') is not null
drop table t_table
版权声明
本文为[An effort to XX program yuan]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/04/202204230239165436.html
边栏推荐
- 解决win7 中powershell挖矿占用CPU100%
- So library dependency
- hack the box optimum靶机
- 解决 注册谷歌邮箱 gmail 手机号无法用于验证
- The penultimate K nodes in jz22 linked list
- LeetCode 1450 - 1453
- Use of go language web Middleware
- Yes, from today on, our fans can participate in Netease data analysis training camp for free!
- RT_Thread自问自答
- 1、 Sequence model
猜你喜欢

Flink stream processing engine system learning (III)

A domestic image segmentation project is heavy and open source!
![[XJTU计算机网络安全与管理]第二讲 密码技术](/img/b0/263e8dcbfeb2ce9f504a9c8eb76b07.png)
[XJTU计算机网络安全与管理]第二讲 密码技术

MySQL JDBC编程

Flink stream processing engine system learning (I)

The usage and difference of * and & in C language and the meaning of keywords static and volatile
Rich intelligent auxiliary functions and exposure of Sihao X6 security configuration: it will be pre sold on April 23

php+mysql对下拉框搜索的内容修改

Understanding process (multithreading primary)

Fashion MNIST dataset classification training
随机推荐
JZ35 复杂链表的复制
[XJTU計算機網絡安全與管理]第二講 密碼技術
Preliminary understanding of stack and queue
Rhcsa day 3 operation
Servlet template engine usage example
JDBC JDBC
Deploying sbert model based on torchserve < semantic similarity task >
Rhcsa day 4 operation
The usage and difference of * and & in C language and the meaning of keywords static and volatile
TypeScript(1)
JVM类加载器
[XJTU计算机网络安全与管理]第二讲 密码技术
Go语言web中间件的使用
Learn regular expression options, assertions
PIP install shutil reports an error
Understanding process (multithreading primary)
能做多大的单片机项目程序开发,就代表了你的敲代码的水平
hack the box optimum靶机
Day18 -- stack queue
Fashion MNIST dataset classification training