FreeTDS User Guide: A Guide to Installing, Configuring, and Running FreeTDS
Prev | Chapter 10. Programming | Next

# db-lib API Implementation Summary

Microsoft's version of db-lib is online. Sybase's is both online and can be downloaded as a PDF file. [1]

Table 10-1. db-lib API Implementation Summary

Category | Microsoft name | Sybase name | Status | Comments
--- | --- | --- | --- | ---
(none) | n/a | db12hour |  |
(none) | n/a | dbaltbind_ps |  |
(none) | n/a | dbbind_ps |  |
(none) | n/a | dbbufsize |  |
(none) | n/a | dbcharsetconv |  |
(none) | n/a | dbcoltypeinfo | OK |
(none) | n/a | dbconvert_ps | OK |
(none) | n/a | dbfreesort |  |
(none) | n/a | dbfree_xlate |  |
(none) | n/a | dbgetcharset |  |
(none) | n/a | dbgetloginfo |  |
(none) | n/a | dbgetlusername |  |
(none) | n/a | dbgetnatlang |  |
(none) | n/a | DBIORDESC | OK |
(none) | n/a | DBIOWDESC | OK |
(none) | n/a | dbloadsort |  |
(none) | n/a | dbload_xlate |  |
(none) | n/a | dbnpcreate |  |
(none) | n/a | dbnpdefine |  |
(none) | n/a | dbpoll |  |
(none) | n/a | DBRBUF |  |
(none) | n/a | dbreadpage |  |
(none) | n/a | dbrecftos | OK |
(none) | n/a | dbrecvpassthru |  |
(none) | n/a | dbregdrop |  |
(none) | n/a | dbregexec |  |
(none) | n/a | dbreghandle |  |
(none) | n/a | dbreginit |  |
(none) | n/a | dbreglist |  |
(none) | n/a | dbregnowatch |  |
(none) | n/a | dbregparam |  |
(none) | n/a | dbregwatch |  |
(none) | n/a | dbregwatchlist |  |
(none) | n/a | dbrpwclr |  |
(none) | n/a | dbrpwset |  |
(none) | n/a | dbsafestr | OK |
(none) | n/a | dbsechandle |  |
(none) | n/a | dbsendpassthru |  |
(none) | n/a | dbsetbusy |  |
(none) | n/a | dbsetdefcharset |  |
(none) | n/a | dbsetdeflang |  |
(none) | n/a | dbsetidle |  |
(none) | n/a | dbsetifile | OK |
(none) | n/a | dbsetinterrupt | OK |
(none) | n/a | DBSETLCHARSET |  |
(none) | n/a | DBSETLENCRYPT |  |
(none) | n/a | dbsetloginfo |  |
(none) | n/a | dbsetrow |  |
(none) | n/a | dbsetversion | OK |
(none) | n/a | dbspr1row | OK |
(none) | n/a | dbspr1rowlen | OK |
(none) | n/a | dbsprhead | OK |
(none) | n/a | dbsprline | OK |
(none) | n/a | dbstrcmp |  |
(none) | n/a | dbstrsort |  |
(none) | n/a | dbtextsize |  |
(none) | n/a | dbwritepage |  |
(none) | n/a | dbxlate |  |
bcp | bcp_batch | (same) | OK |
bcp | bcp_bind | (same) | OK |
bcp | bcp_colfmt | (same) | OK |
bcp | n/a | bcp_colfmt_ps |  |
bcp | bcp_collen | (same) | OK |
bcp | bcp_colptr | (same) | OK |
bcp | bcp_columns | (same) | OK |
bcp | bcp_control | (same) | OK |
bcp | bcp_done | (same) | OK |
bcp | bcp_exec | (same) | OK |
bcp | n/a | bcp_getl | OK |
bcp | bcp_init | (same) | OK |
bcp | bcp_moretext | (same) | stub |
bcp | n/a | bcp_options | partial |
bcp | bcp_readfmt | n/a | OK |
bcp | bcp_sendrow | n/a | OK |
bcp | BCP_SETL | n/a | OK |
browse | dbcolbrowse | (same) |  |
browse | dbcolsource | (same) | OK |
browse | dbfreequal | (same) |  |
browse | dbqual | (same) |  |
browse | dbtabbrowse | (same) |  |
browse | dbtabcount | (same) |  |
browse | dbtabname | (same) |  |
browse | dbtabsource | (same) |  |
browse | dbtsnewlen | (same) |  |
browse | dbtsnewval | (same) |  |
browse | dbtsput | (same) |  |
core | dbadata | (same) | OK |
core | dbadlen | (same) | OK |
core | dbaltbind | (same) | OK |
core | dbaltcolid | (same) | OK |
core | dbaltlen | (same) | OK |
core | dbaltop | (same) | OK |
core | dbalttype | (same) | OK |
core | dbaltutype | (same) | OK |
core | dbanullbind | (same) | OK |
core | dbbind | (same) | OK |
core | dbbylist | (same) | OK |
core | dbcancel | (same) | OK |
core | dbcanquery | (same) | OK |
core | dbchange | (same) | OK |
core | dbclose | (same) | OK |
core | dbclrbuf | (same) | OK |
core | dbclropt | (same) | partial |
core | dbcmd | (same) | OK |
core | dbcmdrow | DBCMDROW | OK |
core | dbcolinfo | n/a | OK |
core | dbcollen | (same) | OK |
core | dbcolname | (same) | OK |
core | dbcoltype | (same) | OK |
core | dbcolutype | (same) | OK |
core | dbconvert | (same) | OK |
core | dbcount | DBCOUNT | OK |
core | dbcurcmd | DBCURCMD | stub |
core | dbcurrow | DBCURROW | stub |
core | dbdata | (same) | OK |
core | dbdataready | n/a |  |
core | dbdatecrack | (same) | OK |
core | dbdatlen | (same) | OK |
core | dbdead | DBDEAD | OK |
core | dbenlisttrans | n/a |  |
core | dbenlistxatrans | n/a |  |
core | dberrhandle | (same) | OK |
core | dbexit | (same) | OK |
core | dbfcmd | (same) | OK |
core | dbfirstrow | DBFIRSTROW | OK |
core | dbfreebuf | (same) | OK |
core | dbgetchar | (same) | OK |
core | dbgetmaxprocs | (same) | OK |
core | dbgetoff | (same) |  |
core | dbgetpacket | (same) | OK |
core | dbgetrow | (same) | OK |
core | dbgettime | DBGETTIME |  |
core | dbgetuserdata | (same) | OK |
core | dbinit | (same) | OK |
core | dbisavail | DBISAVAIL | OK |
core | dbiscount | n/a |  |
core | dbisopt | (same) | partial |
core | dblastrow | DBLASTROW | OK |
core | dblogin | (same) | OK |
core | dbloginfree | (same) | OK |
core | dbmny4add | (same) | OK |
core | dbmny4cmp | (same) | OK |
core | dbmny4copy | (same) | OK |
core | dbmny4divide | (same) | stub |
core | dbmny4minus | (same) | OK |
core | dbmny4mul | (same) | stub |
core | dbmny4sub | (same) | OK |
core | dbmny4zero | (same) | OK |
core | dbmnyadd | (same) | stub |
core | dbmnycmp | (same) | OK |
core | dbmnycopy | (same) | OK |
core | dbmnydec | (same) | stub |
core | dbmnydivide | (same) | stub |
core | dbmnydown | (same) | stub |
core | dbmnyinc | (same) | stub |
core | dbmnyinit | (same) | stub |
core | dbmnymaxneg | (same) | stub |
core | dbmnymaxpos | (same) | stub |
core | dbmnyminus | (same) | stub |
core | dbmnymul | (same) | stub |
core | dbmnyndigit | (same) | stub |
core | dbmnyscale | (same) | stub |
core | dbmnysub | (same) | stub |
core | dbmnyzero | (same) | OK |
core | dbmorecmds | DBMORECMDS | OK |
core | dbmsghandle | (same) | OK |
core | dbname | (same) | OK |
core | dbnextrow | (same) | OK |
core | dbnullbind | (same) | OK |
core | dbnumalts | (same) | OK |
core | dbnumcols | (same) | OK |
core | dbnumcompute | (same) | OK |
core | dbnumorders | DBNUMORDERS |  |
core | dbopen | (same) | OK |
core | dbordercol | (same) |  |
core | dbprhead | (same) | OK |
core | dbprocerrhandle | n/a |  |
core | dbprocinfo | n/a |  |
core | dbprocmsghandle | n/a |  |
core | dbprrow | (same) | OK |
core | dbprtype | (same) | OK |
core | dbresults | (same) | OK |
core | dbrows | DBROWS | OK |
core | dbrowtype | DBROWTYPE | OK |
core | dbservcharset | (same) | OK |
core | dbserverenum | n/a |  |
core | dbsetavail | (same) | OK |
core | dbsetlapp | DBSETLAPP | OK |
core | dbsetlfallback | n/a |  |
core | dbsetlhost | DBSETLHOST | OK |
core | dbsetlnatlang | DBSETLNATLANG | OK |
core | dbsetlogintime | (same) | OK |
core | dbsetlpacket | DBSETLPACKET | OK |
core | dbsetlpwd | DBSETLPWD | OK |
core | dbsetlsecure | n/a |  |
core | dbsetltime | n/a |  |
core | dbsetluser | DBSETLUSER | OK |
core | dbsetlversion | n/a | OK |
core | dbsetmaxprocs | (same) | OK |
core | dbsetnull | (same) |  |
core | dbsetopt | (same) | partial |
core | dbsettime | (same) | OK |
core | dbsetuserdata | (same) | OK |
core | dbspid | (same) | OK |
core | dbsqlexec | (same) | OK |
core | dbsqlok | (same) | OK |
core | dbsqlsend | (same) | OK |
core | dbstrbuild | (same) | OK |
core | dbstrcpy | (same) | OK |
core | dbstrlen | (same) | OK |
core | dbtds | DBTDS | OK |
core | dbuse | (same) | OK |
core | dbvarylen | (same) | OK |
core | dbversion | (same) | OK |
core | dbwillconvert | (same) | OK |
core | dbwinexit (Windows only) | n/a |  |
cursor | dbcursor | (same) |  |
cursor | dbcursorbind | (same) |  |
cursor | dbcursorclose | (same) |  |
cursor | dbcursorcolinfo | (same) |  |
cursor | dbcursorfetch | (same) |  |
cursor | dbcursorfetchex | n/a |  |
cursor | dbcursorinfo | (same) |  |
cursor | dbcursorinfoex | n/a |  |
cursor | dbcursoropen | (same) |  |
datetime | n/a | dbdate4cmp |  |
datetime | n/a | dbdate4zero |  |
datetime | n/a | dbdatechar |  |
datetime | n/a | dbdatecmp | OK |
datetime | n/a | dbdatename |  |
datetime | n/a | dbdateorder |  |
datetime | n/a | dbdatepart |  |
datetime | n/a | dbdatezero |  |
datetime | n/a | dbdayname |  |
datetime | n/a | dbmonthname | OK |
procedure | dbhasretstat | (same) | OK |
procedure | dbnumrets | (same) | OK |
procedure | dbretdata | (same) | OK |
procedure | dbretlen | (same) | OK |
procedure | dbretname | (same) | OK |
procedure | dbretstatus | (same) | OK |
procedure | dbrettype | (same) | OK |
procedure | dbrpcexec | n/a |  |
procedure | dbrpcinit | (same) | OK |
procedure | dbrpcparam | (same) | OK |
procedure | dbrpcsend | (same) | OK |
text | dbmoretext | (same) | OK |
text | dbreadtext | (same) | OK |
text | dbtxptr | (same) | OK |
text | dbtxtimestamp | (same) | OK |
text | dbtxtsnewval | (same) |  |
text | dbtxtsput | (same) |  |
text | dbupdatetext | n/a |  |
text | dbwritetext | (same) | OK |
text | dbwritetext | (same) | OK |

### Notes

[1] | Links such as these are quite perishable. Should you find them broken, please check the FreeTDS User Guide posted on our website. If it's out of date, please let us know, so we can correct it. Thanks.

Prev | Home | Next
API Reference Manual | Up | ct-lib API Implementation Summary