3 ms·
Effectively we are talking about something on a par with stored procedures, but hopefully a bit nicer and portable. You would of course want to apply at least
by hinkley 6y ago
Effectively we are talking about something on a par with stored procedures, but hopefully a bit nicer and portable.
You would of course want to apply at least as much thought to the design of the agent as you would to a prepared statement, so that they can be reused. And that would probably mean, like a prepared statement, that you are sending a query and some config for that query as two separate inputs, one of which is much more stable than the other.