14.7.4.3 GreaterThan

This static method determines whether or not the first of two OracleString values is greater than the second.

Declaration

// C#
public static bool GreaterThan(OracleString str1, OracleString str2);

Parameters

  • str1

    The first OracleString.

  • str2

    The second OracleString.

Return Value

Returns true if the first of two OracleStrings is greater than the second; otherwise, returns false.

Remarks

The following rules apply to the behavior of this method.

  • Any OracleString that has a value is greater than an OracleString that has a null value.

  • Two OracleStrings that contain a null value are equal.