title: Incorrect syntax near the keyword 'file' for one database
body: <p>I am getting this error:</p>
  
  <blockquote>
    <p>System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near the keyword 'file'.</p>
  </blockquote>
  
  <p>Query looks like this:</p>
  
  <pre><code>UPDATE t 
  SET name = s.[Value] 
  FROM [dbo].[file] t 
  JOIN [dbo].[#TempTable] s ON t.[name] = s.[Key]
  </code></pre>
  
  <p>Temp table created:</p>
  
  <pre><code>CREATE TABLE [#TempTable] ([Key] varchar(500), [Value] varchar(500))
  </code></pre>
  
  <p>Same thing in code:</p>
  
  <pre><code> var commandText = "UPDATE t " +
   $"SET [{column.ColumnName}] = s.[{valueColumn.ColumnName}] " +
   $"FROM {table.FullTableName} t " +
   $"JOIN {mappingsTable.FullTableName} s ON t.[{column.ColumnName}] = s.[{keyColumn.ColumnName}] ";
  </code></pre>
  
  <p>And executed:</p>
  
  <pre><code>using (var command = CreateCommand(connection, transaction))
  {
      command.CommandText = commandText;
      command.CommandTimeout = 0;
      command.ExecuteNonQuery();
  }
  </code></pre>
  
  <p>This issue occurs only in 1 database. Three other databases on different/same servers are ok.</p>
  
  <p>What can it be?</p>
  
  <p>UPD</p>
  
  <p>If I rename table to [dbo].[file1] - everything works.</p>