When researching ways to optimise bulk updates to SQL Server, I have come across the following query which works correctly but I'm having difficulty understanding how the '...' notation works in the following c# code snippet:
command.CommandText = "CREATE TABLE #TmpTable(...)";
command.ExecuteNonQuery();
command.CommandText = "UPDATE T SET ... FROM " + tableName + " T INNER JOIN #TmpTable Temp ON ...; DROP TABLE #TmpTable;"
command.ExecuteNonQuery();