$sql.metaData.getMaxIndexLength

Retrieves the maximum number of bytes this database allows for an index, including all of the parts of the index.
Syntax
    $sql.metaData.getMaxIndexLength{jdbcProfileName}
DocumentationRetrieves the maximum number of bytes this database allows for an index, including all of the parts of the index.:

    Paramter:
      Requieres one parameter, this is your JDBC profile name.
    Returns:
      the maximum number of bytes allowed; this limit includes the composite of all the constituent parts of the index; a result of zero means that there is no limit or the limit is not known
    Throws:
      SQLException - if a database access error occurs
Examples
GroupSQL
Minimum required transaction-mode:NONE
Required scripting permission of the developerPERMISSION_FL_BASIC
Minimum parameters1
Maximum parameters 1