Forum Replies Created

Viewing post 1 (of 1 total)

  • RE: help on datediff

    The style 16 is not supported for conversions from varchar to date. It is supported for conversion of date to date only

    You may use:

    declare @verdate as char(10)='01-01-2014'

    declare @secdate as date=getdate()

    select...

Viewing post 1 (of 1 total)