Dynamic Structured Query Language (Dynamic SQL)
Definition - What does
Dynamic Structured Query Language (Dynamic SQL)
mean?
Dynamic Structured Query Language (SQL) is a SQL version that facilitates the generation of dynamic (or variable) program queries. Dynamic SQL allows a programmer to write code that automatically adjusts to varying databases, environments, servers or variables.
Dynamic SQL statements are not embedded in the source program but stored as strings of characters that are manipulated during a program's runtime. These SQL statements are either entered by a programmer or automatically generated by the program. This is the major difference between dynamic SQL and static SQL statements. Dynamic SQL statements also may change from one execution to the next without manual intervention.
Dynamic SQL facilitates automatic generation and manipulation of program modules for efficient automated repeating task preparation and performance.
Techopedia explains
Dynamic Structured Query Language (Dynamic SQL)
Dynamic SQL facilitates the development of powerful applications with the ability to create database objects for manipulation according to user input. For example, a Web application may allow parameters specifying a SQL query. Typical SQL queries accommodate a few parameters. However, entering 10 or more parameters often leads to highly complex SQL queries, especially if a user is allowed to enter conditions (such as AND or OR) between parameters.
Dynamic SQL increases processing and efficiency by running simultaneous queries and distributing results from a single interface query on multiple databases.
Early Oracle database versions with PL/SQL dynamic SQL required that programmers to use a complicated Oracle DBMS_SQL package library. Later, a simpler "Native Dynamic SQL" was introduced.
Home
Dictionary
Tags
Development
Related Terms
Structured Query Language (SQL)
Oracle Database
Query
Data Definition Language (DDL)
Data Manipulation Language (DML)
Database (DB)
Related Videos
Related Links
Related White Papers
Other Resources
Related Tags
Categories:
Databases
Programming Languages
Development
Recommended For You
close
Computer Programming: From Machine Language to Artificial Intelligence
Read More
ยป
Tweet
Tweet
Popular White Papers
Techopedia Newsletter Sign-Up
Get Techopedia delivered to your inbox!
Term of the Day:
Get a new Techie Term sent to you every business day
Best of Techopedia:
We"ll bring you the best Techie articles each month.
Sign-In
Join Techopedia
Follow Us
Follow Techopedia on Facebook
Follow Techopedia on LinkedIn
Follow Techopedia on Twitter
Add Techopedia on Google Plus
Get Techopedia on RSS
Home
Dictionary
Articles
Tutorials
Newsletters
Development
Networks
Wireless
Support
Linux
Enterprise
Enterprise Apps
Security
CRM
IT Business
IT Careers
IT Management
Trends
Cloud Computing
Mobile computing
Personal Tech
Gaming
Internet
Search Engines
Social Media
World Wide Web
All Topics
Hacking
Online Marketing
Buzzwords and Jargon
Viruses
Operating Systems
Legal
People