Write a PL/SQL block to show a valid case-insensitive reference to a quoted and without quoted user-defined identifier

  • pl/sql

Write a PL/SQL block to show a valid case-insensitive reference to a quoted and without quoted user-defined identifier.

When identifier is enclosing with double quotation and reference to the identifier is without quoted:

الأجوبة

DECLARE
  "WELCOME" varchar2(10) := 'welcome'; -- identifier with quotation 
BEGIN
  DBMS_Output.Put_Line(Welcome); --reference to the identifier without quotation
END;
/

Sample Output:

welcome

Statement processed.

0.00 seconds

When identifier is enclosing without double quotation and reference to the identifier is without quoted:

DECLARE
  WELCOME varchar2(10) := 'welcome'; -- identifier without quotation 
BEGIN
  DBMS_Output.Put_Line(Welcome);-- reference to the identifier without quotation
END;
/

Sample Output:

welcome

Statement processed.

0.00 seconds
هل كان المحتوى مفيد؟

معلومات ذات صلة

تبحث عن مدرس اونلاين؟

محتاج مساعدة باختيار المدرس الافضل؟ تواصل مع فريقنا الان لمساعدتك بتأمين افضل مدرس
ماهو التخصص الذي تبحث عنه؟
اكتب هنا...