home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.databases.oracle      Overblown overpriced overengineered SHIT      2,288 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 2,070 of 2,288   
   Miori to All   
   tnsnames.ora   
   07 Apr 05 16:16:50   
   
   From: cattorayye@yahoo.com   
      
   Dear all,   
   We use TCP/IP for our Oracle networking to the database server but I see   
   2 formats for specifying the definition of a connection string of a   
   database in tnsnames.ora.   
      
   format 1:   
   testdb =   
   (DESCRIPTION =   
   (ADDRESS_LIST =   
   (ADDRESS = (PROTOCOL = TCP)(HOST = myhost)(PORT = 1521))   
   )   
   (CONNECT_DATA =   
   (SERVER = DEDICATED)   
   (SERVICE_NAME = testdb)   
   )   
   )   
      
   format 2:   
   testdb =   
   (DESCRIPTION =   
   (ADDRESS_LIST =   
   (ADDRESS = (PROTOCOL = TCP)(Host = myhost)(Port = 1521))   
   )   
   (CONNECT_DATA =   
   (SID = test)   
   (GLOBAL_NAME = testdb.mydomain)   
   )   
   )   
      
   What is the difference between these 2 formats, is one for a certain   
   Oracle DB version and the other for another version for example? I mean   
   when to use which format or are both of them interchangable?   
      
   Many thanks for the replies,   
   Miori   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca