|
I think the main issue is performance. I believe the process of precompiling the SQL results in a more efficient means of performing the SQL queries, which is often an important consideration for programmers who choose static compiled languages, like C, RPG, and COBOL.
But yeah, I agree - for flexibility, you can't beat an interpreted language, like Python or Perl. I like how you can easily construct a query dynamically in Python, and get the results back in a list along with another list that describes the columns returned. Of course the cost of that flexibility is run-time performance. But personally I think the dynamic nature of SQL makes it a natural match for dynamic languages like Perl or Python.
Sure, if you want, you can do SQL programming in RPG without having to use the preprocessor, using the SQL CLI. But I'm not sure if anyone has given up on the SQL prep in favor of using the CLI.
Regards, Rich
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.