我想在本机编译的存储过程中编写等效的存储过程(包含执行字符串),但我找不到实现它的方法。
有人有想法吗?
There are limited set of operators that can be used in natively compiled stored procedures.
You are allowed to use control-of-flow language statements like IF and ELSE
, so this is the closest thing you can get to dynamic execution.