Can you make a multi-column index for a PDT?

Knowledge Drop

Last tested; Oct 17, 2017
 

Right now that's not possible natively.
One thing you can do is concat two columns and use that as the index, but this will only be used if both of those columns are included in the query.

indexes: [col1, col2] makes two separate indexes on the DT.

This content is subject to limited support.                

Version history
Last update:
‎06-14-2021 05:51 PM
Updated by: