title: Oracle - Converting SDO_GEOMETRY to WKT?
body: <p>I am very new to oracle spatial.</p>
  
  <p>I have a spatial table with one SDO_GEOMETRY column. After inserting POINT data in this table, I want to retrieve data in WKT format. </p>
  
  <p>Here is what I did:</p>
  
  <p>Inserting data -</p>
  
  <pre><code>INSERT INTO new_test (name, geom) VALUES (
  'Test', 
  SDO_GEOMETRY(
               2001,
               4326, 
               SDO_POINT_TYPE(12,14,NULL), 
               NULL, 
               NULL));
  </code></pre>
  
  <p>Fetching data - </p>
  
  <pre><code>SELECT NAME, SDO_UTIL.TO_WKTGEOMETRY(GEOM) AS point FROM NEW_TEST;
  </code></pre>
  
  <p>Output -</p>
  
  <pre><code>NAME | POINT
  -------------
  Test | (null)
  </code></pre>
  
  <p>Why do I get null here? Shouldn't it display the co-ordinate points?</p>