cmd
C:\user\XXX>tnsping [数据库名]
例:C:\user\XXX>tnsping orcl
C:\user\XXX>tnsping 192.168.1.123:1521
C:\user\XXX>tnsping 192.168.1.123:1521/oracle10g
cmd
C:\user\XXX>tnsping [数据库名]
例:C:\user\XXX>tnsping orcl
C:\user\XXX>tnsping 192.168.1.123:1521
C:\user\XXX>tnsping 192.168.1.123:1521/oracle10g