求助,一直提示無效字符
求助:
SQL> select username,case username when 'aaa' then '計(jì)算機(jī)部門' when 'bbb' then '市場(chǎng)部門' else '其他部門'
? 2? end as 部門 from users;
end as 部門 from users
? ? ? *
ERROR at line 2:
ORA-00911: invalid character
求助:
SQL> select username,case username when 'aaa' then '計(jì)算機(jī)部門' when 'bbb' then '市場(chǎng)部門' else '其他部門'
? 2? end as 部門 from users;
end as 部門 from users
? ? ? *
ERROR at line 2:
ORA-00911: invalid character
舉報(bào)
2019-05-28
as后面的部門加上單引號(hào)試試