Q:[oracle@LOCALHOST~]$ sqlplus “/ as sysdba”
SQL*Plus: Release 10.2.0.3.0 - Production on Sat Aug 27 22:54:48 2010
Copyright (c) 1982, 2006, Oracle. All Rights Reserved.
ERROR:
SQL*Plus: Release 10.2.0.3.0 - Production on Sat Aug 27 22:54:48 2010
Copyright (c) 1982, 2006, Oracle. All Rights Reserved.
ERROR:
ORA-12162: TNS:net service name is incorrectly specified
S:ORACLE-SID没有指定
$echo $ORACLE-SID
----------为空
$EXPORT ORACLE-SID=orcl
$echo $ORACLE-SID
orcl