Search
 
SCRIPT & CODE EXAMPLE
 

SQL

sql anywhere create procedure

CREATE TEMPORARY PROCEDURE drop_table( IN @TableName char(128) )
BEGIN
    IF EXISTS  ( SELECT * FROM SYS.SYSTAB WHERE table_name = @TableName ) THEN
   EXECUTE IMMEDIATE 'DROP TABLE "' || @TableName || '"';
   MESSAGE 'Table "' || @TableName || '" dropped' to client;
    END IF;
END;
CALL drop_table( 'CustRank' );
Comment

PREVIOUS NEXT
Code Example
Sql :: conditional index in postgres 
Sql :: sql cursor example multiple columns 
Sql :: How to take sum of column with same id in "JPQL?" 
Sql :: How To Execute SQL Select Statements 
Sql :: ring MySQL store binary data and special characters in the database after processing 
Sql :: call object contructor and call methods of object 
Sql :: how to create roles in oracle developer sql 
Sql :: mysql default tls v1.3 ciphersuites 
Sql :: sql server system messeges 
Sql :: PBI TO SQL 
Sql :: copy table from postgresql to mysql 
Sql :: findAllBy 
Sql :: how many rows can postgres handle 
Sql :: how to fix mysql stop unexpectedly 
Sql :: oracle exchange partition 
Sql :: contact mysql column field 
Sql :: tsql select concatenated values in one to many relationship 
Sql :: HOW TO RETURN THE NUMBER OF LETTERS IN A cell in mysql 
Sql :: sqlites studio red exclamation mark when poening databse 
Sql :: oracle table change tablespace lob column 
Sql :: sql developer format sql 
Sql :: join 
Sql :: create trigger in phpmyadmin 
Sql :: table values functions in SQL 
Sql :: oracle string substitution 
Sql :: systemctl mssql-server details 
Sql :: insert data 
Sql :: connect to remote mysql server 
Sql :: delete sql server store procedure 
Sql :: create database in sql 
ADD CONTENT
Topic
Content
Source link
Name
8+5 =