Results 1 to 2 of 2

Thread: How to connect Silk Test to database

  1. #1
    Junior Member
    Join Date
    May 2008
    Answers
    1

    How to connect Silk Test to database

    Hi,

    Can any one please let me know "how to connect to database from silk"

    Thanks.


  2. #2
    Contributing Member
    Join Date
    May 2008
    Answers
    32

    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
  •  
About us
Applying for a job can be a stressful and frustrating experience, especially for someone who has never done it before. Considering that you are competing for the position with a at least a dozen other applicants, it is imperative that you thoroughly prepare for the job interview, in order to stand a good chance of getting hired. That's where GeekInterview can help.
Interact