Added error checking for argument size not passed in and procedure not found in database.