Probably when you upgrade the database, the codeset of the db has changed, this could mean a character would take 2 char to fit instead of 1 char before. For instance, "A" would take 1 char to store, but now it needs 2 char. Thus, one of the cursor variables isnt big enough to store the value... just a thought