O.K. Got it. I am not allow to test function with booleans in sql*plus!!

However, is there another way to pass deptno without using ampersend (&)? Tks!