cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

table Params in Procedure

0 Likes
1,468

Good day ,

I have stumbled over a point when creating a procedure that makes me very curious in connection with the manual.

The parameter type table .. table(value varchar(24))

CREATE PROCEDURE Test
@list table(value varchar(24)) out
as
...

I can't find any information about it but it is still functional.

Am I missing the description? Is this simply undocumented in SAP Adaptive Server Enterprise 16.0 ?

Andre

Accepted Solutions (1)

Accepted Solutions (1)

Mark_A_Parsons
Contributor
0 Likes

ASE 16 SP02 introduced the table type.

You can define it 'inline' (as demonstrated in the question) or as a user-defined datatype via the create type command.

You can also declare variables as table variables.

Unfortunately documentation quality took a nosedive when ASE 15 came out and SAP has continued this decline in documentation quality with ASE 16. Net result is the manuals are typically lacking in exhaustive and/or useful examples for the new(er) features so you're left to your imagination when constructing a syntactically correct command.

0 Likes

Thank you,

i rely so far on the infocenter to have documentation. But it looks like it is not as up to date as help.sap .

https://infocenter.sybase.com/help/topic/com.sybase.infocenter.help.ase.16.0/doc/html/title.html

Andre

Answers (1)

Answers (1)

ChrisBaker
Product and Topic Expert
Product and Topic Expert
0 Likes

Documentation for current releases is only available on help.sap.com.

https://help.sap.com/viewer/product/SAP_ASE/16.0.4.1/en-US

Chris