I created a stored procedure that will return the error code if it fails. When executing the proc, I get the message like this and what is returned is
Output Messages:
Server: Msg 242, Level 16, State 3, Procedure p_load_data, Line 280
The conversion of a char data type to a datetime data type...