5. Geospatial Functions : AsBinary
 
Share this page                  
AsBinary
ASBINARY(g Geometry)
Alias: ST_ASBINARY
Returns g in Well Known Binary (WKB).
Result type: binary
Example:
SELECT ASBINARY(POINTFROMTEXT('POINT(1 5)'));