在reprting数据集定义中,
select * from RTRun where (STCD in(@STCD)),其中stcd是整形,我输入101,102后,则提示
An error occurred while reading data from the query result set.
将 nvarchar 值 '101,102' 转换为数据类型为 int 的列时发生语法错误。 (Microsoft Report Designer)


而在sql 查询管理器中,我输入select * from RTRun where (STCD in(101,102)),则正确显示结果。

现在reporting该如何解决这个问题?可以考虑存储过程来实现,则可以解决,但这样比较麻烦,不知诸位有何好的建议?

相关文章:

  • 2022-12-23
  • 2022-03-09
  • 2022-02-27
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-12-14
  • 2021-08-01
猜你喜欢
  • 2021-08-01
  • 2021-04-24
  • 2021-07-26
  • 2021-05-16
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案