Hi, Recently, always get an error message 'Fetch type out of range' when call a function to return a string, i have check the function, there is no Fetch cursor is call in the function, just a normal update and select statement, why sometime only will get the error, and sometime not ? Anyone can help ? please advise. regards, Michelle