Thursday, May 9, 2024

LEC: EMBEDDED DATA MANIPULATION LANGUAGE



Embedded SQL in database management systems (DBMS) serves as a powerful tool for seamlessly integrating high-level programming languages with databases. It acts as a connector between applications and databases, facilitating data manipulation and communication. Embedded SQL is supported by various DBMS, allowing developers to choose the one that best fits their needs. 

The demand for embedded SQL arises from the desire to simplify database interactions for both application developers and end users. When users interact with an application, they often input values or submit requests that require accessing and modifying data in a database. By incorporating SQL queries directly into the application code, developers can perform these database tasks without burdening users with SQL complexities. 

The structure of embedded SQL begins with establishing a connection to the database. This is achieved using the CONNECT keyword, preceded by EXEC SQL to indicate that it is a SQL statement.

No comments:

Post a Comment

XML, JSON, AND AJAX

XML is a language called eXtensible Markup Language. It's a way to format documents so that both humans and computers can read them easi...