Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

Ask DBMS Expert


Home >> DBMS

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.

DBMS, Programming

  • Category:- DBMS
  • Reference No.:- M91778768
  • Price:- $35

Priced at Now at $35, Verified Solution

Have any Question?


Related Questions in DBMS

Sql assignmentin these exercises youll enter and run your

SQL Assignment In these exercises, you'll enter and run your own SELECT statements. You will use the MyGuitarShop database for these queries. If you do not already have the MyGuitarShop database, the SQL script and the i ...

Sqlwrite a select statement that returns one column from

SQL Write a SELECT statement that returns one column from the Vendor table named Full Name. Create this column from the VendorContactFName and VendorContactLName columns. Format it as follows: last name, comma, first nam ...

In sql database questions phase-1 in 100 words what steps

In SQL Database Questions: Phase-1 In 100 words, what steps can one take to avoid losing work? Which command is used to save changes to the database? What is the syntax for this command? Phase-2 In 100 words, explain the ...

Question create the physical data model for the logical

Question: Create the physical data model for the logical data model that you submitted in IP3. This should include all of the data definition language SQL. Your submission should include all DDL needed to: Create the tab ...

A taking an unnormalised list describe how you would

(a) Taking an unnormalised list, describe how you would normalise it using the normal forms technique and show how the result of this method is used. (b) You are currently in the process of developing a RDBMS for a natio ...

Question 1 describe 1nf 2nf 3nf2 explain why 4nf is a

Question: 1: Describe 1NF, 2NF, 3NF. 2: Explain why 4NF is a normal form more desirable than BCNF. The response must be typed, single spaced, must be in times new roman font (size 12) and must follow the APA format.

Tableau is business intelligence software that helps people

Tableau is business intelligence software that helps people see and understand their data. Fast Analytics Connect and visualize your data in minutes. Tableau is 10 to 100x faster than existing solutions. Ease of Use Anyo ...

Objectivethe objective of this lab is to be familiar with a

OBJECTIVE: The objective of this lab is to be familiar with a process in big data modeling. You're required to produce three big data models using the MS PowerPoint software. This tool is available on UMUC Virtual Deskto ...

Question team project submission - submit to the unit 4

Question: Team Project Submission - Submit to the Unit 4 Group Project Area This version of the capstone project assignment is FOR GRADING this week. Submit to the group area the document containing completed Sections On ...

Question talk about the importance of pulling data from

Question : Talk about the importance of pulling data from worksheets into a single sheet also the ways excel could be a solution to a complex challenge. The response must be typed, single spaced, must be in times new rom ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As