-1

I want to write equivalent stored procedure (contain execute string) in natively compiled stored procedure, but I can't find a way to implement that.

Does anyone have an idea?

marc_s
  • 732,580
  • 175
  • 1,330
  • 1,459

1 Answers1

0

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.

gotqn
  • 42,737
  • 46
  • 157
  • 243