title: Invert X and Y coordinates in MySQL Point field
body: <p>I am trying to invert the X and Y coordinates of the values in a MySQL POINT field.</p>
  
  <p>The following query runs without errors, but all vales are null afterwards:</p>
  
  <pre><code>UPDATE `Table` SET `column` = PointFromText(CONCAT('"POINT(',Y(`column`),',',X(`column`),')"'))
  </code></pre>
  
  <p>What is wrong with the query?</p>