PLSQL 2 2 Practice
PLSQL 2 2 Practice
com
Words that have special meaning to an Oracle database and cannot be used
as identifiers.
Describe the purpose and use of each code segment and are ignored by
PL/SQL.
Building blocks of any PL/SQL block and are sequences of characters
including letters, digits, tabs, returns, and symbols.
Copyright © 2019, Oracle and/or its affiliates. All rights reserved. Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners.
2
Valid Invalid
Identifier Why Invalid?
(X) (X)
Today
Last name
today’s_date
number_of_days_in_february_this_ year
Isleap$year
#number
NUMBER#
Number1to7
Copyright © 2019, Oracle and/or its affiliates. All rights reserved. Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective
owners.
3
3. What kind of lexical unit (for example Reserved word, Delimiter, Literal, Comment) is each of the
following?
Value Lexical Unit
SELECT
:=
'TEST'
FALSE
-- new process
FROM
v_test
4.09
Copyright © 2019, Oracle and/or its affiliates. All rights reserved. Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective
owners.