mmmh.. :master:
mah dbo.StringToData(@LeaFromDate) è una funzione che hai creato tu?