answersLogoWhite

0

What is dynamic sql in dbms?

User Avatar

Anonymous

13y ago
Updated: 8/19/2019

Although static SQL works well in many situations, there is a class of applications in which the data access cannot be determined in advance. For example, suppose a spreadsheet allows a user to enter a query, which the spreadsheet then sends to the DBMS to retrieve data. The contents of this query obviously cannot be known to the programmer when the spreadsheet program is written.

To solve this problem, the spreadsheet uses a form of embedded SQL called dynamic SQL. Unlike static SQL statements, which are hard-coded in the program, dynamic SQL statements can be built at run time and placed in a string host variable. They are then sent to the DBMS for processing. Because the DBMS must generate an access plan at run time for dynamic SQL statements, dynamic SQL is generally slower than static SQL. When a program containing dynamic SQL statements is compiled, the dynamic SQL statements are not stripped from the program, as in static SQL. Instead, they are replaced by a function call that passes the statement to the DBMS; static SQL statements in the same program are treated normally.

User Avatar

Wiki User

13y ago

What else can I help you with?

Related Questions

Is SQL DBMS or RDBMS?

dbms


Examples for dbms and rdbms?

My sql, Microsoft sql , Microsoft Access, dBase, Filemaker pro are the examples for dbms and oracle and sql server are the examples for rdbms


List some dbms and rdms software?

The name of few DBMS are FOXPRO, MS-ACCESS, SQL Server, My SQL, ORACLE, etc.


Can be executed sql statements without a dbms?

yes


What are dbms languages?

DBMS languages are specialized programming languages used to interact with databases. Common DBMS languages include SQL (Structured Query Language) for querying and manipulating data, and PL/SQL (Procedural Language/SQL) for developing procedures and functions within a database system. These languages are designed to facilitate communication with the database management system and perform various operations on the data stored in the database.


Sample of DBMS?

SAMPLE DBMS includes Oracle, DB2, MS Access, MS SQL SERVER, PostgreSQL, MySQL, Sybase.


Name three vendors of DBMS products?

Microsoft (MS SQL)IBMORACLE


What are the differences between a sql server dba and a sql dba?

The term SQL alone implies Structured Query Language as per the ANSI standard. Every Database Management System (DBMS) has its own "software" that makes it work. That being said, the term "SQL DBA" alone does not make any sense without mentioning the vendor specific DBMS you are managing. So, an SQL Server DBA is an administrator of Microsoft's SQL Server.


Example of DBMS used in web based application?

SQL server oracle DB2 MYSQL


List out the dbms softwares?

*Altibase *Oracle * SQL server * Fox Pro * MS-Access * Sequel-Pro(mac)


What are some of DBMS Types?

1. Following are the different types of dbmsMySQLMicrosoft SQL ServerMS AccessFoxproSAPdBASETibero 6


DBMS used in web-based application?

MYSQL - a freely distributed DBMS Microsoft SQL Server - the product of old-brand Microsoft Oracle - a strong and powerful DBMS, which is normally used by larger enterprises nowadays.