Explain the differences between sql and pl-sql

Assignment Help Database Management System
Reference no: EM131054352

1. In a 200 words or less explain the differences between SQL and PL/SQL? Why do we need SQL in a procedural language?

2. Respond to the following in 100 words-APA Format and Cite work

SA

SQL is a structured query language that is used to retrieve and manipulate data as well as create and modify objects in a database. There are some capabilities for logic in SQL statements such as case and decode statements, but it is very limited. PL/SQL is a procedural language that has many more logic options available such as if-else statements and for loops. However, PL/SQL isn't very useful without SQL to retrieve and manipulate the data. For instance, you can use SQL to retrieve a value from a table and based on the value; use an if-else statement to choose to update a value in another table or not. PL/SQL also has a few other features that make it more efficient than just SQL alone. One being that PL/SQL transmits multiple SQL statements at one time in a block whereas SQL sends each statement separately thus saving bandwidth. Another is that PL/SQL that is stored in the database as a program unit is stored in executable form and is cached in memory making it more efficient to run (Casteel, 2013, pp. 3-4).

Reference:

Casteel, J. (2013). Oracle 11g: PL/SQL programming. Boston, MA: Course Technology, Cengage Learning.

3. Respond to the following in 100 words-APA Format and Cite work

Structured Query Language (SQL) is used primarily to conduct various actions within a database. These actions are typically categorized as data manipulation (DML), data definition (DDL), querying, and transaction control. DML includes actions like insertion, update, deletion. DDL includes, alteration, creation, and dropping. Queries are performed via select statements, and transaction control can be conducted via commit and rollback statements (Casteel, 2013, p. 15).

PL/SQL is Oracle's procedural language extension of SQL. Procedural languages are used to design logic statements which control decision making and the flow of information which makes a system conduct tasks. By extending procedural language to SQL, programmers gain the ability to perform traditional programming logic alongside SQL statements. The textbook example points out the use of PL/SQL to validate a customer input by checking database details after a customer has conducted a certain action. Using PL/SQL can improve performance by packaging multiple statements, increase productivity through enhanced integration, increased portability, and better security (Casteel, 2013, p. 4).

Reference

Casteel, J. (2013). Oracle 11g: PL/SQL Programming (2nd ed.). Boston, MA: Course Technology.

Reference no: EM131054352

Questions Cloud

What resources important to include in activity definition : What resources are important to include in activity definition and sequencing? Describe the impact of having either proper or improper representation of resources in the estimating process of a project you worked on.
What estimation tools have you seen utilized on projects : What estimation tools have you seen utilized on projects that you have managed or been a project team member? Have the tools been effectively used? How do tools support the project manager in the estimation process?
Concentrations of the components of at equilibrium : For the following reaction the concentrations of the components of at equilibrium are given calculate K 2A+B C+3D
Re-creation of the beginning of this famous : The 1913 premier of the ballet, The Rite of Spring, caused a riot because of its "pagan primitivism, harsh dissonance, percussiveness, and pounding rhythms." Read about the premiere of The Rite of Spring and its performance in Milestones of Music..
Explain the differences between sql and pl-sql : In a 200 words or less explain the differences between SQL and PL/SQL? Why do we need SQL in a procedural language?
Question regarding the samples of metal : Calculate the amount of water required to reduce the temperature of the following samples of metal. Assume that you can use as much water (at 4 ?) as required.
Second equivalence point : At what added volume of base does the first equivalence point occur? At what added volume of base does the second equivalence point occur?
What is the estimated amount of time for implementation : What is the estimated amount of time for implementation? Create a visual representation that captures your timeline (e.g., Gantt chart) based on the systems development life cycle.
Mean square speed of the molecules : What is the temperature of co2 gas if the average speed actually the root mean square speed of the molecules is 850 m/s? Note the molar mass of O2 is 44 g/mo2

Reviews

Write a Review

Database Management System Questions & Answers

  Rea properties

This assignment aims to improve your design and programming skills in database systems. In particular, it requires you to exercise programming skills in SQL and PL/SQL under Oracle PL/SQL Developer or SQL*Plus tool.

  Formulas within table cells always begin withend of exam

Which of the following allows you to view and access important information about your document all in one location

  Design a database for a small medical practice

Narrative description of the "medical practice" database assignment: Design a database for a small medical practice with several physicians. The purpose of the database is to support the administrative functions such as billing, scheduling and pat..

  Create three use case diagrams for the new billing

Using the Hillside School Case Study and your stage 1, 2, and 3 projects, develop a decision paper that serves as a system "sign-over" document for system deployment and transfer of responsibility for the newly designed and implemented system to t..

  Design the network requirements for the xyz company

You must design the network requirements for the XYZ company. As the network consultant you will be required to develop a plan for the company network, including all costs.

  A prestigious university has recently implemented a

a prestigious university has recently implemented a consolidation strategy that will require it to centralize their

  Design a grade average program that will produce the numeric

Design a grade average program that will produce the numerical grade average of test scores input by a user.

  Create a detailed erd using the entities and attributes

Create a detailed ERD using the Entities and Attributes for Driver's Log document found on the Huffman Trucking Intranet site.

  How to build a data driven business using data analytics

How to Build a Data Driven Business Using Data Analytics

  Create tables with appropriate primary and foreign keys

Create tables ICECREAM, INGREDIENT and RECIPE with appropriate primary and foreign keys. What are the names of all ice creams and which ice cream flavored were offered before 1999

  Explain a sql server deadlock

Explain a SQL Server deadlock. Which of the following statements is true concerning subqueries? A correlated subquery is where the outer query depends on data from the inner query.

  Find out which data from database to archive

Find out which data from database to archive; that is, for each table, Write down whether data requires to be archived.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd