DatabaseMaxIdentifierLength

This property specifies the maximum identifier length the connection supports.

Declaration

// C#
public int DatabaseMaxIdentifierLength {get;}

Remarks

The connection must be open when using this property. If the connection is closed, an exception occurs.

The Oracle Database maximum identifier length varies depending on the version. Older Oracle databases supported a 30 byte maximum and newer databases support a 128 byte maximum.