ParentFull threaddventimi·If you can't use stored procedures which are good for this very case, many databases offer dynamic SQL. That might work in some cases.View on HN