on 2019 Jun 19 8:30 AM
The Documentation says ( as a new feature ) you can Declare a two dimensional Composite Data Type ( ARRAY )
Is this true ? It only allows me to declare one dimension
e.g. DECLARE New2DArray INTEGER ARRAY(5) ARRAY(10);
if not, is there a work-around ?
greg
Request clarification before answering.
You are relating to the following doc page, right?
AFAIK, the mentioned sample does not fit. You have to build an array of arrays as mentioned in the next sample from that page, such as
DECLARE New2DArray ARRAY(10) OF ARRAY(5) OF INTEGER;
More samples and explanations can be found in Breck's great Top 10 Cool New Features in SAP Sybase SQL Anywhere 16 article.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
47 | |
6 | |
6 | |
5 | |
5 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.