-
Junior Member
How to connect Silk Test to database
Hi,
Can any one please let me know "how to connect to database from silk"
Thanks.
-
Contributing Member
Re: How to connect Silk Test to database
1) Create a DSN connection using ODBC (Control panel - > administrative tools).
2) use DB_Connect() to connect to the database
HANDLE hdbc
hdbc = DB_Connect ("DSN= YOUR DSN CONNECTION NAME")
then you can use your SQL statements:-
HANDLE hstmnt
hstmnt = DB_ExecuteSql (hdbc, "SELECT * FROM emp")
Regards
Sabarish
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules