sql server - Getting a incorrect WHERE syntax with my sql statement -
hope can , keep getting incorrect "where" syntax following sql statement
using (sqlcommand selectt = new sqlcommand("select [tr_regnumber] dbo.trailerdetail [tr_routes] = '" +trailersroutesallocations[i]+ "'" + " , [tr_classficiation] = '" +trailersvragclassification[i]+ "'", con))
i coding in c# (using visual studio)
you have 1 more. write 1 here:
select column1, column2, ... table_name condition1 , condition2 , condition3 ...;
Comments
Post a Comment