oracal 支不支持汉字别名啊???想查询出select id as '序号' from table1有办法么?

解决方案 »

  1.   

    支持:
    SQL> select sysdate 当前日期 from dual;当前日期
    ------------
    20-JAN-09
      

  2.   

    应该看Oracle的字符集吧?
      

  3.   


    select id as 序号 from table1 
      

  4.   

    如果oracle服务器的字符集是中文就可以啊
      

  5.   

    支持的 
    select id as "序号" from table1  或者 这样 select id as 序号 from table1
      

  6.   

    支持
    select id 序号 from table1 
      

  7.   

    select id as '序号' from table1 支持汉字别名的写法,应该是这样:
    select id as 序号 from table1 
    别名不能用引号包起来 
      

  8.   

    select id as 序号 from table1 
    或者
    select id as "序号" from table1 
    两种方法都是可以的
      

  9.   

     SELECT 'oracle 支持 中文显示的' AS "不信你看看" FROM DUAL;