title: MySQL server version for the right syntax to use near WHERE 1=0' at line 1
body: <p>I am trying to connect to mySQL database using MySQL 5.2 ODBC Driver, tested the connection and it was successful but when I am running select queries on the database tables getting below error - </p>
  
  <blockquote>
    <p>The service was unable to retreive the results of the query. ERROR [42000] [MySQL][ODBC 3.51 Driver][mysqld-5.1.40-community]You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '"dbtmsprod02"."twe_planning" ) T WHERE 1=0' at line 1 </p>
  </blockquote>
  
  <p><strong>Here is my SQL query :</strong></p>
  
  <pre><code>Select "plan_id", "plan_desc", "plan_status" From "dbtmsprod02"."twe_planning" 
  </code></pre>
  
  <p>I am little to new this area, any help would be highly appreciated.</p>
  
  <p>Thanks
  Prabhu</p>