ORA-00997 illegal use of LONG datatypeCause: A value of datatype LONG was used in a function or in a DISTINCT, WHERE, CONNECT BY, GROUP BY, or ORDER BY clause. A LONG value can only be used in a SELECT clause. Action: Remove the LONG value from the function or clause.
long型不能用在函数中。
判断为空能不能用if wbnr is null then