WEB开发网
开发学院数据库MSSQL Server ODBC API常用函数诠释 阅读

ODBC API常用函数诠释

 2008-09-03 10:01:06 来源:WEB开发网   
核心提示:以下为ODBC API的常用十四个函数,先列出在PowerBuilder中外部函数引用声明: functionintegerSQLAllocEnv(reflongphenv)library"odbc32.dll"functionintegerSQLFreeEnv(longhenv)library&q

以下为ODBC API的常用十四个函数,先列出在PowerBuilder中外部函数引用声明:

   functionintegerSQLAllocEnv(reflongphenv)library"odbc32.dll"
  functionintegerSQLFreeEnv(longhenv)library"odbc32.dll"
  functionintegerSQLDataSources(longhenv,intfdirection,refstringszdsn,&
  integercbdsnmax,refintegerpcbdsn,refstringszdescription,integercbdescriptionmax,refintegerpcbdescription)library"odbc32.dll"
  functionintegerSQLAllocConnect(longhenv,reflonghdbc)library"odbc32.dll"
  functionintegerSQLConnect(longhstmt,refstringszdsn,integerdsnlen,refstring
  szuid,integeruidlen,refstringszpwd,integerpwdlen)library"odbc32.dll"
  functionintegerSQLDisconnect(longhdbc)library"odbc32.dll"
  functionintegerSQLAllocStmt(longhdbc,reflonghstmt)library"odbc32.dll"
  functionintegerSQLTables(longhstmt,refstringsztablequalifier,integertablequalifierlen,refstringszowner,integerowerlen,refstringszname,integernamelen,
  refstringsztype,integertypelen)library"odbc32.dll"
  functionintegerSQLColumns(longhstmt,refstringsztablequalifier,integertablequalifierlen,refstringszowner,integerowerlen,refstringszname,integernamelen,
  refstringsztype,integertypelen)library"odbc32.dll"
  functionintegerSQLBindCol(longhstmt,integercolnum,integerdatatype,refstringname,longmaxlen,reflongactlen)library"odbc32.dll"
  functionintegerSQLFetch(longhstmt)library"odbc32.dll"
  functionintegerSQLError(longlenv,longhdbc,longhstmt,refstringsqlstate,reflongnativeerror,refstringerrormsg,integererrormsgmax,refintegererrormsglen)library"odbc32.dll"
  functionintegerSQLFreeStmt(longhstmt,integerOptions)library"odbc32.dll"

1 2 3 4 5 6  下一页

Tags:ODBC API 常用

编辑录入:爽爽 [复制链接] [打 印]
赞助商链接