Answers for "sql anywhere 12 stored procedure example"

SQL
0

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' );
Posted by: Guest on August-11-2020

Code answers related to "sql anywhere 12 stored procedure example"

Code answers related to "SQL"

Browse Popular Code Answers by Language