Hi,
Please help me in configuring the QTP to oracle database.
Neetu..
Printable View
Hi,
Please help me in configuring the QTP to oracle database.
Neetu..
Use the following code by replacing the values for < server >, < dbname >, < uid > and < pwd > as appropriate.
[QUOTE]
Dim CStng
CStng = "Provider=MSDAORA;Data Source=< server >.< dbname >;User ID=< uid >; Password=< pwd >;"
set cnnOra = CreateObject("ADODB.Connection")
cnnOra.open CStng
[/QUOTE]