If you want to access a database without it being in your tnsnames.ora file, you can use a ‘URL’ at the command line:
sqlplus login/pwd@//hostname:1521/sidname
This should work with versions 9 and above. Let me know if other versions work.
If you want to access a database without it being in your tnsnames.ora file, you can use a ‘URL’ at the command line:
sqlplus login/pwd@//hostname:1521/sidname
This should work with versions 9 and above. Let me know if other versions work.
Cincinnati 513.298.1865
Virginia 7875 Promontory Court Dunn Loring, VA 22027
Kentucky 12910 Shelbyville Road Suite 310 Louisville, KY 40243 502.245.6756
© 2010 Mission Data
1
Uh, wrong!
That only works in 10g and the syntax is:
sqlplus login/pwd@//hostname:1521/servicename
Get on the ball bud!