B. VARIABLES
Variables cannot be deprecated using the DEPRECATE pragma. This pragma is designed for elements that are part of the PL/SQL object structure (such as packages, triggers, etc.), not individual variables.
A. PACKAGES: Pacotes podem ser marcados como obsoletos usando DEPRECATE. Isso ajuda a indicar que o pacote será substituído no futuro por outra solução. Correta.
B. VARIABLES: Não é possível marcar variáveis como obsoletas. O DEPRECATE não se aplica a variáveis. Incorreta.
C. ANONYMOUS BLOCK: Blocos anônimos são executados dinamicamente e não são objetos reutilizáveis no banco. Eles não podem ser marcados como obsoletos. Incorreta.
D. TRIGGER BODY: O corpo de um trigger pode ser marcado como obsoleto para indicar que ele não deve mais ser usado diretamente. Correta.
E. DATABASE LINKS: Database links são configurações no banco e não podem ser marcados como obsoletos via DEPRECATE. Incorreta.
https://docs.oracle.com/en/database/oracle/oracle-database/19/lnpls/DEPRECATE-pragma.html#GUID-D2DAD89D-C537-4666-A8A7-2836EB77A0E5
PL/SQL elements of these kinds may be deprecated:
Subprograms
Packages
Variables
Constants
Types
Subtypes
Exceptions
Cursors
This section is not available anymore. Please use the main Exam Page.1z0-149 Exam Questions
Log in to ExamTopics
Sign in:
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
db_guy13
1 month, 2 weeks ago826cb95
2 months, 1 week agoxexel7
4 months, 2 weeks agovinhvv
6 months agotrex_fcs
1 year, 1 month agoPurpleStudio
1 year, 1 month agoabdullah_barham
1 year, 1 month agoabdullah_barham
1 year, 1 month ago