我有一个选择语句
command.commandText = "SELECT FIRSTNAME, LASTNAME FROM MYTABLE" +
" WHERE STATE LIKE @STATE + '%';";
这给了我一个“'”错误
我试过这个
command.commandText = "SELECT FIRSTNAME, LASTNAME FROM MYTABLE" +
" WHERE STATE LIKE @STATE" + "'%';";
这给了我“%”错误......正确的方法是什么