This will be used to
combine two strings only.
    Syntax:
concat (string1, string2)
    Ex:
         SQL> select concat('computer','
operator') from dual;
CONCAT('COMPUTER'
-------------------------
computer
operator
    If you want to combine more than two
strings you have to use concatenation operator (||).
         SQL> select 'how' || ' are' || '
you' from dual;
'HOW'||'ARE
---------------
how
are you
 
 
No comments:
Post a Comment