Download Lab Assignment # 1

Survey
yes no Was this document useful for you?
   Thank you for your participation!

* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project

Document related concepts

Entity–attribute–value model wikipedia , lookup

Ingres (database) wikipedia , lookup

DBase wikipedia , lookup

Database wikipedia , lookup

Relational algebra wikipedia , lookup

Team Foundation Server wikipedia , lookup

Microsoft Access wikipedia , lookup

Microsoft Jet Database Engine wikipedia , lookup

Btrieve wikipedia , lookup

Database model wikipedia , lookup

Oracle Database wikipedia , lookup

Tandem Computers wikipedia , lookup

Clusterpoint wikipedia , lookup

Relational model wikipedia , lookup

Null (SQL) wikipedia , lookup

Microsoft SQL Server wikipedia , lookup

Open Database Connectivity wikipedia , lookup

SQL wikipedia , lookup

PL/SQL wikipedia , lookup

Transcript
Lab #1
CIS 208A PL/SQL
Name __________________
Section 1-1
Answer questions 1 & 2.
1.
Criteria
3GL
4GL
Is proprietary to Oracle
Corporation
Nonprocedural
Procedural
SQL Is ANSI-compliant
PL/SQL
PL/SQL
PL/SQL
Language
SQL
SQL
SQL
PL/SQL
PL/SQL
PL/SQL
SQL
SQL
SQL
Answer
2. In your own words, describe why a procedural language like PL/SQL is needed.
Section 1-2
Answer questions 2, 3, & 4
2. Why is it beneficial to use PL/SQL with an Oracle database? List at least three reasons.
3. How is PL/SQL different from C and Java? List three differences.
4. List three examples of what you can build with PL/SQL code.
Section 1-3
Answer questions 1, 2, & 4
1.
Optional or Mandatory?
DECLARE
BEGIN
EXCEPTION
END;
Describe what is included in this
section
2. Which of the following PL/SQL blocks executes successfully? For the blocks that fail, explain why they
fail
A. BEGIN
END;
B. DECLARE
amount INTEGER(10);
END;
C. DECLARE
BEGIN
END;
D. DECLARE
amount NUMBER(10);
BEGIN
DBMS_OUTPUT.PUT_LINE(amount);
END;
4. In Application Express, create and execute a simple anonymous block that outputs “Hello World.”
Upload your completed assignment into the link for lab 1 assignment in Canvas.
CIS208ASP2017Lab1.docx
1/12/17