Write a PL/SQL program with two variables for the first name and the last name. Print the full name with last name and first name separated by comma and a space.

What will be an ideal response?


```
SQL> SET VERIFY OFF
SQL> DECLARE
2 last VARCHAR2(15) := '&s_last';
3 first VARCHAR2(15) := '&s_first';
4 BEGIN
5 DBMS_OUTPUT.PUT_LINE ('Full name: ' || last || ', ' || first);
6 END;
7 /
Enter value for s_last: SHAH
Enter value for s_first: NILESH
Full name: SHAH, NILESH

PL/SQL procedure successfully completed
```

Computer Science & Information Technology

You might also like to view...

One benefit of using range names in formulas is

A) it directly or indirectly refers to the cell containing the formula. B) if you copy the formula, you do not have to make the cell reference absolute. C) it contains both an absolute and a relative cell reference. D) it identifies the present value of the loan.

Computer Science & Information Technology

An advantage of structured programming is that it works well with the concept of modular programming.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology

If you want to modify a saved query, open the query in ________ view

Fill in the blank(s) with correct word

Computer Science & Information Technology

A dependent cell is a cell that supplies a value to the formula in the active cell

Indicate whether the statement is true or false

Computer Science & Information Technology