Advertisement
Guest User

Untitled

a guest
Nov 27th, 2014
161
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.28 KB | None | 0 0
  1. SQLConnect(hdbc, "hostname/dbname", SQL_NTS, "user", SQL_NTS, "pass", SQL_NTS);
  2. SQLConnect(hdbc, "hostname:dbname", SQL_NTS, "user", SQL_NTS, "pass", SQL_NTS);
  3.  
  4. // just as jdbc format...
  5. SQLConnect(hdbc, "odbc:db2://hostname/dbname", SQL_NTS, "user", SQL_NTS, "pass", SQL_NTS);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement