1
Restriction on SQL Stored Procedures 8
©Copyright 1995-2017 CASEMaker Inc.
to perform, but the final WARNING message will return to the user The ERROR
message will be discontinued and return to the user. If a WARNING and ERROR
messages simultaneous occur, it will only return ERROR message.
14. Not support the following uncertain status:
Example: intc1, intMax, charc2, charc3 all are variables.
INSERT INTO mytb(c1, c2) VALUES(intc1,
CASE
WHEN intc1 <= intMax THEN charc2
ELSE charc3
END);
15. Not support the client syntax for example: set client_char_set 'big5', user can
use dynamic SQL to achieve the same syntax
16. The following is SQL Stored Procedure reserved keywords, the variable names
cannot be set to the following keywordsor the reserved keywords in the
SQL
Command and Function Reference.
(may have intersection).
ADD, ALTER, AND, AS, ASENSITIVE, BEGIN, BIGINT, BINARY,
BREAK, CALL, CASE, CHAR, CLOSE, COMMIT, CONDITION,
CONNECT, CONT, CONTINUE, CREATE, CURSOR, DATE,
DEALLOCATE, DECIMAL, DECLARE, DEFAULT, DELETE,
DISCONNECT, DO, DOUBLE, DROP, DYNAMIC, ELSE, ELSEIF,
END, EXECUTE, EXIT, FALSE, FETCH, FIRST, FLOAT, FOR,
FOUND, FROM, GO, GOTO, GRANT,HANDLER, HOLD, IF,
IMMEDIATE, IN, INOUT, INPUT, INSENSITIVE, INSERT, INT,
INTEGER, INTO, IS, ITERATE, LANGUAGE, LAST, LEAVE, LOOP,
NCHAR, NCLOB, NEXT, NO, NOT, NULL, NVARCHAR, OFF, ON,
OPEN, OR, OUT, UTPUT, PREPARE, PRIOR, PROCEDURE, REPEAT,
RESULT, RETURN, RETURNS, ROLLBACK,SCROLL, SELECT,
SENSITIVE, SET, SETS, SHORT, SMALLINT, SQL, SQLCODE,