Viewing 7 posts - 1 through 7 (of 7 total)
Thanks to both for your help. Will experiment and let you know the outcome.
Regards,
June 12, 2009 at 4:15 am
I've just updated the statistics, and the query time is now down to 26 seconds.
June 12, 2009 at 3:59 am
I'm just reading that article you posted. For me, dynamic SQL has always been the root of all evil, however if it improves this sort of procedure I may re-write...
June 12, 2009 at 3:46 am
ImageURL just stores the file name of the image that is contained in the file system. It doesn't store any binary data.
I've modified the index to include: PropertyID, ImageURL, IsPrimary...
June 12, 2009 at 3:41 am
Thanks Christopher,
Execution plan is attached.
Regards,
June 12, 2009 at 3:29 am
Works perfectly, thanks.
Think this will go in a stored procedure rather than trying to figure out how to write this in LINQ...
February 12, 2009 at 7:07 am
Viewing 7 posts - 1 through 7 (of 7 total)