Micro Focus QTP (UFT) Forums
How to connect to SYBASE DB, please help. - Printable Version

+- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums)
+-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP)
+--- Forum: VB Scripting/Descriptive Programming (https://www.learnqtp.com/forums/Forum-VB-Scripting-Descriptive-Programming)
+--- Thread: How to connect to SYBASE DB, please help. (/Thread-How-to-connect-to-SYBASE-DB-please-help)



How to connect to SYBASE DB, please help. - martinlam - 09-20-2010

Dear all,

Please help on providing some sample codes to connect SYBASE DB (which is ASE 15).

I used the connection string as follow: (don't know correct or not?)
Code:
ConnectionString ="Provider=ASEOLEDB;Data Source=xxx.xxx.xxx.xxx:yyyy;Catalog=mydb;User Id=myUser;Password=myPass;"


Youe help is much appreciated. Thank you very much !
Regards,
Martin