问题:
Error Desc: The result string for expression "SELECT ID, ......from users WITH (NOLOCK) where id in ( " + @[User::IDSQLCondition]"may be truncated if it exceeds the maximum length of 4000 characters.The expression could have a result value that exceeds the maximum size of a DT_WSTR.
解决方案:原因是SQL 查询语句太长,超过最长字数, 所以修改sql语句,通过减少变量@[User::IDSQLCondition]的值或分多次查询再整合,即可。