problem with user defined functions with select into statements

Original text of this message