測試環境: WinXP SP2、Oracle 10g( 10.2.0.1.0 ) C:\Documents and Settings\User>tnsping $SID TNS Ping Utility for 32-bit Windows: Version 10.2.0.1.0 - Production on 07-12月- 2007 15:01:52 Copyright (c) 1997, 2005, Oracle. All rights reserved. 已使用的參數檔案: C:\oracle\product\10.2.0\db_1\network\admin\sqlnet.ora 使用 TNSNAMES 轉接器來解析別名 Attempting to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP) (HOST = 127.0.0.1)(PORT = 1521))) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = cimsdb))) OK (20 msec) C:\Documents and Settings\aiia>tnsping cimsdbv1 TNS Ping Utility for 32-bit Windows: Version 10.2.0.1.0 - Production on 07-12月- 2007 15:01:56 Copyright (c) 1997, 2005, Oracle. All rights reserved. 已使用的參數檔案: C:\oracle\product\10.2.0\db_1\network\admin\sqlnet.ora TNS-03505: 無法決定名稱 C:\Documents and Settings\aiia>tnsping cimsdbv2 TNS Ping Utility for 32-bit Windows: Version 10.2.0.1.0 - Production on 07-12月- 2007 15:02:02 Copyright (c) 1997, 2005, Oracle. All rights reserved. ...