I\'m trying to determine the line in a stored procedure or the last SQL-statement which is causing a warning. As a workaround I\'m using temporary variables which I manually set