0
(click on this box to dismiss)
Execute dynamic SQL commands in Cubrid
Is it possible to dynamically prepare a string with an sql statement with parameter placeholders and execute it later with different sets of parameters?
1
Answer
1
You can achieve this by combining execute statement with using clause. So something as such:
EXECUTE stmt2 USING '12345abcdeabcde',6,5;
EXECUTE stmt2 USING '12345abcdeabcde',6,10;
Check this link out for more information: http://www.cubrid.org/manual/831/en/EXECUTE%20Statement
tagged
asked 2 years ago
viewed 446 times