Hi All, I have a small test stored proc. I keep getting an error saying Error converting data type varchar to smalldatetime.create procedure test @TestDate smalldatetime AS if @TestDate > '06/06/2079' select @TestDate = nullelseprint 'test1'when I do this test '12/01/2079'. I get an error "converting data type varchar to smalldatetime." How can I resolve this error.any help will be greatly appreciated.
↧