Re:I don't want to learn your query language (2018)
by hobs on Wednesday March 10, 2021 @10:35AM
(#26412301)
That's what adhoc/dynamic SQL is for if you must, and power it with another language - you are trying to loops in a set based language, its the opposite of what its good at.
myFun param =
Something like that has given me WAY more headaches than i ever expected, and that's before i saw vendor code (for systems that are used by millions) handling business logic in the stored proc with a 70 case switch statement...