On 9/6/2011 4:40 PM, Scott Klement wrote:
Perhaps, but every language out there uses SQL for database access. C, VB, Java, C#, PHP, you name it... and embedded SQL is easier to code and debug (not to mention more efficient) than using an API-based approach like ODBC/CLI or JDBC. So I think embedded SQL compares favorably to the alternative languages.

Just a quibble - very few languages actually use SQL, they typically use some variant of ODBC, and depending on the API that can get quite cumbersome. In fact, I would submit that RPG and COBOL with embedded SQL come closest to using SQL as a native language, albeit through the use of a pre-processor. EGL comes very close as well; you simply say "get" on a record with SQL attributes and the generator does the rest for you. You can override the generated SQL, but if your database is set up correctly, EGL just uses it.

Joe

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 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.