select [dbo].[urldecode](oldurl) as 'oldurl', [dbo].[urldecode](newurl) as 'newurl' from [redirectoverrides] where [dbo].[urldecode](oldurl) = '/product.asp' : Type mismatch