Chuck_mtc
Member
Both yesterday and today I have been testing a stored procedure that contains some :
"Select myTb.Column Into MyVar From MyTb Where Column1 = Value1 And Column2 = Value2"
Clauses.
Two consecutive Selects (2nd is in the exception handler for the first, an effort to leave a more detailed error message) are raising the NO_DATA_FOUND error though the Where clauses are True. I paste the Selects (minus the INTO) into a separate SQL window and they each return a row.
Has anyone seen the Test script cause Selects to fail? Is there a workaround?
Thanks,
Chuck
"Select myTb.Column Into MyVar From MyTb Where Column1 = Value1 And Column2 = Value2"
Clauses.
Two consecutive Selects (2nd is in the exception handler for the first, an effort to leave a more detailed error message) are raising the NO_DATA_FOUND error though the Where clauses are True. I paste the Selects (minus the INTO) into a separate SQL window and they each return a row.
Has anyone seen the Test script cause Selects to fail? Is there a workaround?
Thanks,
Chuck