In the following command I get the exception
Incorrect syntax near 'TPA_Approved_Date'
What am I doing wrong?:
SqlCommand sqlComm = new SqlCommand();
sqlComm = myConnection.CreateCommand();
sqlComm.CommandText = @"UPDATE [MRT_MKT_BIDW].[biw].[CNX_TPA_Applied_F]
SET TPA_Approver_Code='@Approver_Code'
TPA_Approved_Date ='@Approved_Date'
TPA_Approved_Flag='Y' WHERE
MDM_Invoice_Date_Dim_Key='20150206'";
sqlComm.Parameters.AddWithValue("@Approver_Code", Approver_Code);
sqlComm.Parameters.AddWithValue("@Approved_Date", "2015-05-06 16:24:47.870");