title: SQL Sever query execute
body: <pre><code>select top(1) 
      Tb_Customer.ID 
  from 
      Tb_Customer 
  inner join 
      Tb_Agency_Eshterak on Tb_Customer.ID = Tb_Agency_Eshterak.CustomerID 
  where 
      Tb_Agency_Eshterak.TypeE = 2 
  order by
      ((convert(decimal(10), Tb_Customer.Lat) - '36.828381258846065') 
       (convert(decimal(10), Tb_Customer.Lat) - '36.828381258846065')) + 
      ((convert(decimal(10), Tb_Customer.Lng) - '54.454983147717144') 
       (convert(decimal(10), Tb_Customer.Lng) - '54.454983147717144')) ASC
  </code></pre>
  
  <p>Does this query have any problems?
  I Cant Excute it In Sql Server 
  This Is Emergency Thanks</p>