Hi,
Can any one please let me know "how to connect to database from silk"
Thanks.
Printable View
Hi,
Can any one please let me know "how to connect to database from silk"
Thanks.
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