Quantcast
Channel: Why colname as input param of function = not good idea? - Database Administrators Stack Exchange
Browsing latest articles
Browse All 3 View Live

Answer by Erwin Brandstetter for Why colname as input param of function = not...

Only addressing your second question about EXECUTE and USING:The elephant in the room: the suggested alternative is utter nonsense for multiple reasons.The USING clause of EXECUTE is used to pass...

View Article


Answer by Evan Carroll for Why colname as input param of function = not good...

There are two questions here,What is the difference between EXECUTE .. USING and EXECUTE FORMAT()Why is wrapping or generating simple SQL statements in a procedural function a bad idea?The difference...

View Article


Why colname as input param of function = not good idea?

Someone told me that using text input for column names and formatting it, like I do below, is rarely a good idea. When I asked why, however, an answer wasn't given. That was on the postgresql IRC, and...

View Article
Browsing latest articles
Browse All 3 View Live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>