Oracle不像SQL那样用的是“+”号,而是用“||”来合并的。即select a||b as c from table
SELECT REGIONID, '('||REGIONCHARID||') '|| REGIONNAME as c FROM SYS_REGION
结果:
Oracle不像SQL那样用的是“+”号,而是用“||”来合并的。即select a||b as c from table
SELECT REGIONID, '('||REGIONCHARID||') '|| REGIONNAME as c FROM SYS_REGION
结果:
转载于:https://www.cnblogs.com/kingteach/archive/2011/04/27/2030190.html