1

I’m having trouble to execute immediate a SP inside a SP from a table. because i have a lot of SP stored in a table (as a data/string).

in oracle we can use “select sp_1(:1,:2) from dual” and running it via execute immediate. how’s singlestore do that? i get error.

please help, because we want to migrate from oracle to singlestore. i changed a lot of SP from oracle to singlestore. thanks.

1 Answer 1

1

Use “CALL spName(args)” and have the SP include in it’s parent body (usually as the last statement) and ECHO SELECT …; statement

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.