How to write DROP TABLE in different databases 1.MySql DROP TABLE IF EXISTS [table_name] 2. In Oracle: BEGIN EXECUTE IMMEDIATE 'DROP TABLE [table_name]'; EXCEPTION WHEN OTHERS THEN NULL; END; 3. In Sql Server IF EXISTS ( SELECT TABLE_NAME FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_NAME = '[table_name]') DROP TABLE [table_name] Thank you for reading, I hope it can help you, thank you for your support of this site! |
<<: Detailed steps to install Anaconda on Linux (Ubuntu 18.04)
>>: How to implement responsive layout in vue-cli
Basic Introduction In the previous article, we in...
1. Float: The main purpose is to achieve the effe...
Table of contents 1. Eclipse configures Tomcat 2....
Preface: Integer is one of the most commonly used...
Table of contents 1. Make good use of components ...
There are two meta attributes: name and http-equiv...
question: Recently, garbled data appeared when de...
The functions of the three attributes flex-grow, ...
⑴ Content determines form. First enrich the conten...
This article shares the specific code of the WeCh...
Statement 1: <link rel="shortcut icon"...
Let's first understand a wave of concepts, wh...
Configuration Preface Project construction: built...
This article shares the installation tutorial of ...
Problem: vue-cil3 runs with warnings potentially ...