+Corrected to use CAST instead of quotes