Hi,
I'm running this query from sqlplus on the same server but on different instances with sqlplus.
The result is the same but the output is different.
Query:
SELECT 'n' AS cn1
, '02' AS cn2
, LENGTH(1) AS length1
, INSTR(1,' ') AS space1
, LENGTH(2) AS length2
, INSTR(2,' ') AS space2
FROM dual;
SQL*Plus: Release 9.2.0.7.0 - Production on Wed Mar 15 15:36:32 2006
Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
Connected to:
Oracle9i Enterprise Edition Release 9.2.0.7.0 - 64bit Production
With the Partitioning option
JServer Release 9.2.0.7.0 - Production
1° execution:
INSTANCE_NAME
----------------
TEST
C CN LENGTH1 SPACE1 LENGTH2 SPACE2
- -- ---------- ---------- ---------- ----------
n 02 1 0 1 0
Disconnected from Oracle9i Enterprise Edition Release 9.2.0.7.0 - 64bit Production
With the Partitioning option
JServer Release 9.2.0.7.0 - Production
SQL*Plus: Release 9.2.0.7.0 - Production on Wed Mar 15 15:36:32 2006
Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
Connected to:
Oracle9i Enterprise Edition Release 9.2.0.7.0 - 64bit Production
With the Partitioning option
JServer Release 9.2.0.7.0 - Production
INSTANCE_NAME
----------------
TESTTEST
CN1 CN2 LENGTH1 SPACE1 LENGTH2 SPACE2
-------------------------------- -------------------------------- ---------- ---------- ---------- ----------
n 02 1 0 1 0
Disconnected from Oracle9i Enterprise Edition Release 9.2.0.7.0 - 64bit Production
With the Partitioning option
JServer Release 9.2.0.7.0 - Production
Why the columns are formatted in different ways?
Is there something like glogin.sql that customizes the instances?
Thanks!
I'm running this query from sqlplus on the same server but on different instances with sqlplus.
The result is the same but the output is different.
Query:
SELECT 'n' AS cn1
, '02' AS cn2
, LENGTH(1) AS length1
, INSTR(1,' ') AS space1
, LENGTH(2) AS length2
, INSTR(2,' ') AS space2
FROM dual;
SQL*Plus: Release 9.2.0.7.0 - Production on Wed Mar 15 15:36:32 2006
Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
Connected to:
Oracle9i Enterprise Edition Release 9.2.0.7.0 - 64bit Production
With the Partitioning option
JServer Release 9.2.0.7.0 - Production
1° execution:
INSTANCE_NAME
----------------
TEST
C CN LENGTH1 SPACE1 LENGTH2 SPACE2
- -- ---------- ---------- ---------- ----------
n 02 1 0 1 0
Disconnected from Oracle9i Enterprise Edition Release 9.2.0.7.0 - 64bit Production
With the Partitioning option
JServer Release 9.2.0.7.0 - Production
SQL*Plus: Release 9.2.0.7.0 - Production on Wed Mar 15 15:36:32 2006
Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
Connected to:
Oracle9i Enterprise Edition Release 9.2.0.7.0 - 64bit Production
With the Partitioning option
JServer Release 9.2.0.7.0 - Production
INSTANCE_NAME
----------------
TESTTEST
CN1 CN2 LENGTH1 SPACE1 LENGTH2 SPACE2
-------------------------------- -------------------------------- ---------- ---------- ---------- ----------
n 02 1 0 1 0
Disconnected from Oracle9i Enterprise Edition Release 9.2.0.7.0 - 64bit Production
With the Partitioning option
JServer Release 9.2.0.7.0 - Production
Why the columns are formatted in different ways?
Is there something like glogin.sql that customizes the instances?
Thanks!