問題:
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]的值或分多次查詢再整合,即可。