Subject Re: Firebird 3.x error “Attem pt to execute an unprepared d ynamic SQL statement” in De lphi IBX exception handling?
The generic exception about attempt appears when the procedure is called from the IBX TIBStoredProc, but if stored procedure is called (via select from...) from the TIBDataSet, then the right error message appears. So - there should be problem how TIBStoredProc handles the error messages.