Home Forums SQL Server 2008 SQL Server 2008 - General Function in where clause RE: Function in where clause
David McKinney
SSChampion
Points: 10472
More actions
March 21, 2013 at 5:15 am
#1599322
I've no supporting evidence to hand...but I'd be inclined to insert into a temp table (with appropriate KEY) and then join on the temp table (rather than use IN). Less opportunities for the optimiser to do something unfortunate.