GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing docs.voltdb.com — POINTFROMTEXT() Using VoltDBPOINTFROMTEXT()POINTFROMTEXT() — Returns a GEOGRAPHY_POINT value from the corresponding WKT SynopsisPOINTFROMTEXT( string ) DescriptionThe POINTFROMTEXT() function generates a GEOGRAPHY_POINT value from a string containing a well known text (WKT) representation of a geographic point. The WKT string must be in the form 'POINT( longitude latitude )' where longitude and latitude are floating point values. if the argument is not a valid WKT representation of a point, the function generates an error. ExampleThe following example uses the POINTFROMTEXT() function to update a record containing a GEOGRAPHY_POINT column using two floating point input values (representing longitude and latitude). UPDATE user SET location =
POINTFROMTEXT(
CONCAT('POINT(',CAST(? AS VARCHAR),' ',CAST(? AS VARCHAR),')')
)
WHERE id = ?; |
| You are visitor 01402775 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |