oracle:
select col1||col2 from table1

解决方案 »

  1.   

    oracle:
    select col1||col2 from table1sql server和Access:
    select cinvcode & cinvname from inventory
      

  2.   

    col1||col2 
    等同于concat(col1,col2)
    别的数据库
    有用&,也有用+的
      

  3.   

    1、如果是字符串类型的:
    select col1||col2 from tablename2、如果是数值类型累加
    select col1+col2 from tablename以上是Oracle
      

  4.   

    oracle:
    select col1||col from test
    或者select concat(col1||col2) from testsysbase:
    select col1+col2 from test
      

  5.   

    oracle:
    select col1||col from A
    or
    select concat(col1||col2) from Asql server和Access:
    select col1 & col2 from A