Changes the settings of an existing spatial reference system. See the Remarks section for considerations before altering a spatial reference system
ALTER SPATIAL REFERENCE SYSTEM srs-name [ srs-attribute [ srs-attribute ... ] ] srs-name : string srs-attribute : SRID srs-id | DEFINITION { definition-string | NULL } | ORGANIZATION { organization-name IDENTIFIED BY organization-srs-id | NULL } | TRANSFORM DEFINITION { transform-definition-string | NULL } | LINEAR UNIT OF MEASURE linear-unit-name | ANGULAR UNIT OF MEASURE { angular-unit-name | NULL } | TYPE { ROUND EARTH | PLANAR } | COORDINATE coordinate-name { UNBOUNDED | BETWEEN low-number AND high-number } | ELLIPSOID SEMI MAJOR AXIS semi-major-axis-length { SEMI MINOR AXIS semi-minor-axis-length | INVERSE FLATTENING inverse-flattening-ratio } | SNAP TO GRID { grid-size | DEFAULT } | TOLERANCE { tolerance-distance | DEFAULT } | POLYGON FORMAT polygon-format | STORAGE FORMAT storage-format srs-id: integer semi-major-axis-length : number semi-minor-axis-length : number inverse-flattening-ratio : number grid-size : DOUBLE : usually between 0 and 1 tolerance-distance : number axis-order : { 'x/y/z/m' | 'long/lat/z/m' | 'lat/long/z/m' } polygon-format : { 'CounterClockWise' | 'Clockwise' | 'EvenOdd' } storage-format : { 'Internal' | 'Original' | 'Mixed' }
Mixed is the default format for round-Earth spatial reference systems (TYPE ROUND EARTH).
ALTER SPATIAL REFERENCE SYSTEM mySpatialRef POLYGON FORMAT 'EvenOdd';
ANSI SQL – Compliance level: Transact-SQL extension.