Subject EXECUTE STATEMENT implicit type conversion
Author Rick Debay
A SELECT...INTO statement does implicit type conversion; this works
fine:

SELECT CHARS_A, CHARS_B FROM T INTO :NUMERIC_A, :NUMERIC_B;

If I execute it this way, I get a runtime error:

EXECUTE STATEMENT 'SELECT CHARS_A, CHARS_B FROM T' INTO :NUMERIC_A,
:NUMERIC_B;

CHARS_A, CHARS_B' INTO does not match returned column type

What is the expected behavior, and what can I do to have it cast
implicitly?

Disclaimer: This message (including attachments) is confidential and may be privileged. If you have received it by mistake please notify the sender by return e-mail and delete this message from your system. Any unauthorized use or dissemination of this message in whole or in part is strictly prohibited. Please note that e-mails are susceptible to change. RxStrategies, Inc. shall not be liable for the improper or incomplete transmission of the information contained in this communication or for any delay in its receipt or damage to your system. RxStrategies, Inc. does not guarantee that the integrity of this communication has been maintained nor that this communication is free from viruses, interceptions or interference.