Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我试图通过一个过程运行一个动态选择查询,当我在 SQL 报告生成器中执行它时,我能够看到结果集,但是当我尝试生成报告时它会抛出一个错误。谁能建议问题是什么?
显示带有错误的 SQL 报告生成器的屏幕
这是 2008 及以前版本中的一个错误,在 2008 R2 版本中已修复。
参考:- https://social.msdn.microsoft.com/Forums/sqlserver/en-US/0b54621d-e613-4a5e-af13-70b64094e452/ssrs-2005-report-giving-a-nullable-object-must-have -a-value-error-when-deployed-on-sql-2008-report?forum=sqlreportingservices