|
SQL*Plus: Release 9.2.0.1.0 - Production on Thu Jan 18 13:56:26 2007
Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
SQL> conn / as sysdba
Connected to an idle instance.
SQL> startup
ORACLE instance started.
Total System Global Area 135338868 bytes
Fixed Size 453492 bytes
Variable Size 109051904 bytes
Database Buffers 25165824 bytes
Redo Buffers 667648 bytes
Database mounted.
Database opened.
SQL> select chr(0) from dual;
C
-
SQL> select a|| chr(0)||b from dual;
select a|| chr(0)||b from dual
*
ERROR at line 1:
ORA-00904: "B": invalid identifier
SQL> select a|| chr(0)|| b from dual;
select a|| chr(0)|| b from dual
*
ERROR at line 1:
ORA-00904: "B": invalid identifier
SQL> select a|| chr(0)|| 'b' from dual;
select a|| chr(0)|| 'b' from dual
*
ERROR at line 1:
ORA-00904: "A": invalid identifier
SQL> select 'a'|| chr(0)|| 'b' from dual;
'A'
---
a b
SQL> select 'a'|| chr(0)||'b' from dual;
'A'
---
a b
SQL> select "a"|| chr(0)|"b" from dual;
select "a"|| chr(0)|"b" from dual
*
ERROR at line 1:
ORA-00996: the concatenate operator is ||, not |
SQL> |
|