Limited Dynamic SQL

Question:
I am a technical copywriter currently writing a fact sheet for a software company providing DB2 SQL support. They have something they want to call “limited dynamic SQL.”

Here’s a description:

    Flexible SQL lets developers add SQL text strings to SQL statements. With “Limited Dynamic SQL”, natural host variables can also be added. These variables are set by the program dynamically and interpreted at runtime.

Is this an appropriate term? (The people who came up with the term are German.)

Answer:
That is the sum of my understanding of what dynamic SQL does. It allows a third- or fourth-generation language to use SQL in line in its code, and keeps placeholder variables in the host language to accept the results of the query.

Host variables (usually signified by a preceding colon, as in “:MyVar”) are placeholders for the results of a prepared SQL query.

The application sets up a query string and sends it to the server (PREPARE). The statement is then parsed, compiled, and made ready for execution.

This gives the application the advantage of a compiled parameterized procedure to run, which is quicker than if it were not prepared. When the statement returns, the host variables hold the data.

With that said, I do not see the limitation in the vendor’s implementation of dynamic SQL, since what you describe is the essence of using SQL in some other procedural language.

Share the Post:
Share on facebook
Share on twitter
Share on linkedin

Overview

The Latest

microsoft careers

Top Careers at Microsoft

Microsoft has gained its position as one of the top companies in the world, and Microsoft careers are flourishing. This multinational company is efficiently developing popular software and computers with other consumer electronics. It is a dream come true for so many people to acquire a high paid, high-prestige job

your company's audio

4 Areas of Your Company Where Your Audio Really Matters

Your company probably relies on audio more than you realize. Whether you’re creating a spoken text message to a colleague or giving a speech, you want your audio to shine. Otherwise, you could cause avoidable friction points and potentially hurt your brand reputation. For example, let’s say you create a

chrome os developer mode

How to Turn on Chrome OS Developer Mode

Google’s Chrome OS is a popular operating system that is widely used on Chromebooks and other devices. While it is designed to be simple and user-friendly, there are times when users may want to access additional features and functionality. One way to do this is by turning on Chrome OS