select * from tablename WHERE CONVERT(VARCHAR,[Datecolumn],103) <= CONVERT(VARCHAR,@param,103)
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)