I wrote a sp that executes another sp in it. When I test the "main" sp, the result that I get is "A domain error ocurred". I tested the "inner" sp seperately and it works fine (sending fixed valued or variables). If within the "main" sp I call the "inner" sp with fixed values, it works. But if I call it using variables (assigned from the fetch of a row of a cursor), it gives me this error. This is the first time I get this error and I could find any information on it. Does anyone know what it means? Please help!!!