WEB开发网      婵傜晫鐝總钘夊瀻娴滎偓绱掓担鐘垫畱娑撯偓娴犺棄鍨庢禍顐fЦ閹存垳婊戦惃鍕娴犺棄濮╅崝娑崇幢鐠囧嘲鍨庢禍锟� ---閿曪拷
开发学院数据库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 常用

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