title: SQL Server 2008 saves geography point as hex
body: <p>I've recorded my track to a text file and now I'd like to insert it into SQL Server 2008 R2 database's table as a Point type.</p>
  
  <p>I read my text file using OpenRowSet and insert each line into temporary table. Then I parse every row and insert right values to real table.
  Each row in file looks like: </p>
  
  <pre><code>$GPRMC,101142.415,A,6210.1547,N,02929.2220,E,3.9,231.8,150310,,,A*62
  </code></pre>
  
  <p>I'm parsing latitude and longitude with such a code:</p>
  
  <pre><code>INSERT INTO Track(Point)
  SELECT
  geography::Point(
  SUBSTRING(entry,21,2)+'.'+SUBSTRING(entry,23,2)+
  SUBSTRING(entry,26,CHARINDEX(',',entry,26)-26),
  SUBSTRING(entry,33,3)+'.'+SUBSTRING(entry,36,2)+
  SUBSTRING(entry,39,CHARINDEX(',',entry,39)-39)
  ,4326)
  FROM #MYTEMP
  </code></pre>
  
  <p>After that when I'm looking into real table (named Track) I see something like that:</p>
  
  <pre><code>Point
  0xE6100000010CE200FA7DFF0C4F40B43C0FEECE4A3D40
  </code></pre>
  
  <p>Those points are placed in the right positions on map (using Spatial results tab in SQL Management Studio) but is there any possibility to see them as normal geographical values in a database?</p>