How to connect to a remote Oracle database
Here is how to connect to a remote Oracle database using SQLPlus:
sqlplus user/pass@(DESCRIPTION=(ADDRESS=(PROTOCOL=protocol)(HOST=host)(PORT=port))(CONNECT_DATA=(SID=sid)))
Please note that the words in Italics represent variables:
user – user name for the remote database
pass – password for the remote database
protocol