Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to write a script or database connectivity to connect oracle databse
#10
Solved: 12 Years, 10 Months, 3 Weeks ago
@Saket - When you connect oracle database, you need the oracle service name which you configured in the 'tnsnames.ora' file.

Here is the example for oracle service name configuration

Code:
ORA_Servicename =
(DESCRIPTION =
   (ADDRESS_LIST =
     (ADDRESS = (PROTOCOL = TCP)(HOST = 127.0.0.1)(PORT = 1521))
   )
(CONNECT_DATA =
   (SERVICE_NAME = DataBaseName)
)
)


In the above code, 'ORA_Servicename' is service name. The connecting string is given below
ConnectionString = "User Id=scott;Password=tiger;Data Source=ORA_Servicename;"
Reply


Messages In This Thread
RE: How to write a script or database connectivity to connect oracle databse - by v_selvam - 11-24-2009, 12:30 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Connect to IBM MQ using UFT 12.5 soumen 2 5,070 03-17-2016, 11:16 AM
Last Post: vinod123
  DB2 Connect connection with IE 11 SRP 1 2,996 12-18-2015, 12:41 PM
Last Post: vinod123
  “Cannot connect to 8822 (connection timed out)" Ikbal 0 2,456 12-08-2014, 11:38 PM
Last Post: Ikbal
  How to write a script for fly out menus (Parent - Child - Sub Child) rajkumarsm 3 5,289 09-02-2014, 10:01 AM
Last Post: vinod123
  How to connect two web element objects? zawarepradeep@gmail.com 1 3,021 07-23-2014, 11:23 PM
Last Post: Ankur

Forum Jump:


Users browsing this thread: 1 Guest(s)