I have this error message but i cannot find any wrongdoing, help?
const string sql = @"SELECT PrimarySchool,TopHonour,Cca,TopStudent,TopAggregate,TopIm开发者_Go百科age FROM Primary";
primary is a reserved keyword in TSQL. Make it SELECT ...(snipped)... FROM [Primary]"
to escape it and indicate you mean the object named Primary.
精彩评论