【发布时间】:2014-03-14 23:27:43
【问题描述】:
我正在 BIDS 中为我的本地 crm 2011 构建一个 SSRS 报告。以下是我的查询,以显示记录以及保存在记录注释中的图像。
当我运行查询时,它会返回所有记录的结果,而不是我从中运行它的一条记录。我希望它只返回一条记录的结果,即我选择的记录。
如何修改它以预过滤它?我通过放置 WHERE 子句尝试了许多选项,但无济于事。帮助需要的人。
select inmate_fullname,inmate_BookingNumber, inmate_InmateNumber,inmate_reportbookingdate,inmate_reportdob,
inmate_reportgender, inmate_reportrace, Annotation.DocumentBody
from (select Filterednew_bookingscreen1.* from Filterednew_bookingscreen1)
as CRMAF_filterednew_bookingscreen1 left outer join Annotation on
CRMAF_filterednew_bookingscreen1.new_bookingscreen1Id =Annotation.ObjectId
【问题讨论】:
标签: sql reporting-services dynamics-crm-2011 bids