Sybase IQ 15.4 includes changes to Interactive SQL.
ALTER PROCEDURE [ owner.]procedure-name ( [ parameter, …] ) [ RESULT (result-column, ...)] EXTERNAL NAME ‘external-call’ [ LANGUAGE environment-name ] }
See: Reference: Statements and Options > SQL Statements > ALTER PROCEDURE Statement
.parameter: [ IN ] parameter-name data-type [ DEFAULT expression ] | [ IN ] parameter-name table-type
table type: TABLE( column-name data-type [, ...] )
external call: [column-name:]function-name@library; ...
See Reference: Statements and Options > SQL Statements > CREATE PROCEDURE Statement (External Procedures) > CREATE PROCEDURE Statement (Table UDF).
external-name: EXTERNAL NAME library-call | EXTERNAL NAME java-call LANGUAGE JAVA
See Reference: Statements and Options > SQL Statements > CREATE FUNCTION statement.
procedure-name : [ owner, ] procedure-name ([ parameter, ...]) [ WITH( column-name datatype,)] [ [ AS] correlation-name ] parameter : table-expression | table-parameter table-parameter : TABLE(table-expression) [ OVER (table-parameter-over)] table-parameter-over : [ PARTITION BY {ANY| NONE| table-expression } ] [ ORDER BY { expression | integer } [ ASC | DESC ] [, …] ]
See Reference: Statements and Options > SQL Statements > FROM Clause.
INSERT INTO T (c1,c2,c3) VALUES (1,10,100), (2,20,200), (3,30,300);
This enhancement does not apply to IQ tables. If used against an IQ table, the above syntax results in an error message.
INSERT [INTO] statements against catalog store tables now permit you to insert rows with all default values. For example:
INSERT INTO T () VALUES (), (), ();
This enhancement does not apply to IQ tables. If used against an IQ table, the above syntax results in an error message.
See the LIMIT clause in Reference: Statements and Options > SQL Statements Statement > SELECT Statement.