SQLPLUS远程连接Oracle数据库




语法:sqlplus usr/pwd@//host:port/sid

[oracle@mzl ~]$ sqlplus card1/1@//192.168.2.28:1521/xcard

SQL*Plus: Release 10.2.0.1.0 - Production on Mon Feb 18 15:53:34 2008



Connected to:
Oracle10 Enterprise Edition Release 10.2.0.1.0 - Production
With the Partitioning, OLAP and Oracle Data Mining options
JServer Release 10.2.0.1.0 - Production

SQL> select instance_name,status from v$instance;

INSTANCE_NAME    STATUS
---------------- ------------
xcard          OPEN


或者是
SQL> conn card1/1@//192.168.2.28:1521/xcard
Connected.
SQL> select * from v$instance;


你可能感兴趣的:(Oracle,Advanced,Knowledge)