Hi All
I am using 2008 BIDS to create a report and I have a parameter where users can enter the first few characters of a field and the report will pick
up all Numbers that start with what ever they enter.
I have used a 'like' statement for this:
(dbo.MBB370.TRREF_TRV LIKE @Lotno + '%')
Which works fine, but the report takes about 4 minutes to run, where as if I just left it as
(dbo.MBB370.TRREF_TRV = @Lotno) and the users enter the full lot number the report takes seconds to run.
It runs slow within BIDS and on the Reporting Site.
Can anybody advise how to make the report run quicker please? Is there another function/statement I can use??
Thanks
R