on 08-06-2015 11:11 AM
Hi,
Sorry for silly question. But i was going through SQL documentation with below example.
Any suggestions.
CREATE PROCEDURE exampleExplicit (OUT outTab TABLE(n int)) LANGUAGE SQLScript READS SQL DATA AS
BEGIN
DECLARE temp TABLE (n int);
temp = SELECT 1 as n FROM DUMMY ; BEGIN
DECLARE temp TABLE (n int);
temp = SELECT 2 as n FROM DUMMY ; outTab = Select * from :temp;
END;
outTab = Select * from :temp; END;
Error: incorrect syntax near "(":
BR
Sumeet
Hi Sumeet,
which HANA Revision you use? The inline type declaration is available since SPS09.
Best Regards,
Florian
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.