I wrote a sp in that executes another sp in it (in SQL 2000) . 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!