Home > Database > Mysql Tutorial > PL/SQL下连接远程Oracle数据库

PL/SQL下连接远程Oracle数据库

WBOY
Release: 2016-06-07 17:29:15
Original
1068 people have browsed it

打开PL/SQL的Command Window,输入SQL语句,SQL语句的语法: conn user/pwd@hostIP/SID 例如: conn scott/tiger@192.168.150.30

打开PL/SQL的Command Window,输入SQL语句,,SQL语句的语法:

conn user/pwd@hostIP/SID

例如:

conn scott/tiger@192.168.150.30/orcl 

如果需要改回连接本地Oracle数据库,则把对应的ip改成127.0.0.1即可。

此方法在SQL/PLUS中也适用。

linux

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template