Search
 
SCRIPT & CODE EXAMPLE
 

SQL

oracle drop index if exists

DECLARE
   index_not_exists EXCEPTION;
   PRAGMA EXCEPTION_INIT (index_not_exists, -1418);
BEGIN
   EXECUTE IMMEDIATE 'DROP INDEX index_name';
EXCEPTION
   WHEN index_not_exists THEN NULL;
END;
Comment

PREVIOUS NEXT
Code Example
Sql :: how to see the query of a view in mysql 
Sql :: locate sql server 
Sql :: allow external access to mysql 
Sql :: postgresql to_char time 
Sql :: how to select first row of database sql 
Sql :: sql show all users 
Sql :: oracle trigger after logon on schema 
Sql :: sql duplicate rows 
Sql :: copy postgres table from one schema into another 
Sql :: amazon linux postgresql client 
Sql :: sql identity column reset 
Sql :: c# sql select 
Sql :: mysql select tables with name like 
Sql :: mysql database is not starting in xampp 
Sql :: replace string value in sql 
Sql :: find lowest number in sql 
Sql :: trim sql oracle 
Sql :: apex set debug level 
Sql :: to date oracle 
Sql :: update query in sql server 
Sql :: mysql show all table from database 
Sql :: oracle first row 
Sql :: postgresql size of database 
Sql :: greater than in mongodb query 
Sql :: read all columns of a table sql 
Sql :: check lock on table in sql server 
Sql :: how to insert json value in mysql 
Sql :: oracle to_char number format percentage 
Sql :: how to install sql in anaconda 
Sql :: android sqlite add column if not exists 
ADD CONTENT
Topic
Content
Source link
Name
8+6 =