I have a SQL Task that calls a stored procedure and passes in 2 variables. The procedure returns a value by using a select command at the end.
The select command selects a date value if there is one, otherwise it returns a Null. It isn't my stored procedure and other programs use it so I can't change it.
When I run it and it returns a null value it gives me a date of 11/30/1999 12:00:00 am.
Is there a way to convert the date type from the return to a string that can handle Nulls or another way to do this?
Thanks for the help.