编写SQL语句:
 'select * from (select top  ' + str(@RecordCount-@PageSize*@PageIndex)+' * from ['+@tableName+'] )'运行的时候总是报错异常详细信息: System.Data.SqlClient.SqlException: ')' 附近有语法错误。哪位能告诉我错在哪里