• Because you are comparing a string value against a string value and the first is not less than the second, you need to ensure you use the right data types.

    declare @d1 date = '12/04/2012', @d2 date = '03/01/2013'

    if @d1 < @d2

    select 1