Hi All
I am so surprised with the below behavior.
I thought till now that that data type name can not be used as a variable name but below code is not failing. I tried to create a variable named INTEGER of VARCHAR.
Can anyone explain the below behavior and share some good article on the same if you have. Thanks !
DECLARE
INTEGER VARCHAR2(100);
BEGIN
INTEGER := 'ABCDEF';
DBMS_OUTPUT.PUT_LINE('Print the integer: '||pls_INTEGER);
END;