title: SQL error Incorrect syntax near the keyword 'user'
body: <p>I'm trying to connect <code>SQL Server 2008</code> to c# windows application.<br>
  It's giving me an error.</p>
  
  <pre><code>try
  {
      con = new SqlConnection("server=sameer-PC;database=Demo;Integrated Security=true;UID=admin;password=admin");
      //String query = "select * from user";
  
      con.Open();
      cmd = new SqlCommand("select * from user", con);
  
      Console.WriteLine("connection open{0}");
  
      SqlDataReader myReader = null;
  
      myReader = cmd.ExecuteReader();
      while (myReader.Read())
      {
           Console.Write((myReader["name"]));
      }
      con.Close();
  }
  </code></pre>
  
  <p>Error:</p>
  
  <p>A first chance exception of type </p>
  
  <pre><code>'System.Data.SqlClient.SqlException' occurred in System.Data.dll
  System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near the keyword 'user'.
     at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
     at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
     at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
     at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean&amp; dataReady)
     at System.Data.SqlClient.SqlDataReader.TryConsumeMetaData()
     at System.Data.SqlClient.SqlDataReader.get_MetaData()
     at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString)
     at System.Data.SqlClient.SqlCommand.RunExecuteReadeThe thread 'vshost.RunParkingWindow' (0x820) has exited with code 0 (0x0).
  The thread '&lt;No Name&gt;' (0xc80) has exited with code 0 (0x0).
  </code></pre>