sqlplus如何连接远程数据库

Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
sqlplus user/pass@ip:1521/service_name
sqlplus user/pass@ip:1521/service_name
sqlplus user/pass@ip:1521/service_name

service_name不确定的话,需要区数据库服务器上查询

lsnrctl然后输入service即可。

Leave a Reply

Your email address will not be published. Required fields are marked *