Chapter 2

Interfacing SQL to a Procedural Language

IN THIS CHAPTER

Bullet Interfacing procedural language programs with Microsoft Access

Bullet Giving Microsoft SQL Server a shot

Bullet Doing the same with MySQL

Bullet Oracle 18c’s turn

Bullet Ending with IBM Db2

You can’t build a user-friendly database application with SQL alone. SQL is a data sublanguage and as such lacks many of the facilities required to build a user interface or even execute a sequence of steps. Building a moderately sophisticated application that uses the data in a database requires a procedural language in addition to SQL. Most database management systems (DBMSs) offer compatibility with several procedural languages. Which ones are offered depends on the source of the DBMS and its history, as well as considerations of what capabilities users are most likely to need. In this chapter, I discuss the most common ways of connecting and interfacing to the most popular DBMS products: Access, SQL Server, MySQL, Oracle 18c, and IBM Db2.

Building an ...

Get SQL All-In-One For Dummies, 3rd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.