Write a PL/SQL block to differenciate between CHAR and VARCHAR2 datatype.
SET SERVEROUTPUT ON; DECLARE f_name CHAR(15 CHAR); l_name VARCHAR2(15 CHAR); BEGIN f_name := 'Allen '; l_name := 'Munra '; DBMS_OUTPUT.PUT_LINE('*' || f_name || '*'); DBMS_OUTPUT.PUT_LINE('*' || l_name || '*'); END; /
Sample Output:
*Allen * *Munra *
total answers (1)
start bookmarking useful questions and collections and save it into your own study-lists, login now to start creating your own collections.
Sample Output:
need an explanation for this answer? contact us directly to get an explanation for this answer