Creates or replaces a map ordering routine used to compare UDT values.
CREATE ORDERING is ANSI SQL:2011-compliant.
REPLACE ORDERING is a Teradata extension to the ANSI SQL:2011 standard.
You must have either the UDTTYPE or UDTMETHOD privilege on the SYSUDTLIB database.
If the map routine you specify is a UDF, then you must also have the EXECUTE FUNCTION privilege on the UDF, which must be contained within the SYSUDTLIB database.
Privileges Granted Automatically