15.10 - XMax - Teradata Database

Teradata Database SQL Geospatial Types

prodname
Teradata Database
vrm_release
15.10
category
Programming Reference
featnum
B035-1181-151K

Returns the maximum x coordinate value of an MBR or MBB:

  • For an MBR this is the x coordinate of the upper right corner.
  • For an MBB this is the x coordinate of the upper right back corner.
  • Returns a FLOAT value.

    This method is valid on MBR and MBB data types.

       SELECT NEW MBR(0, 1, 10, 20).XMax();
     
       SELECT NEW MBB(0, 1, 10, 10, 20, 10).XMax();