目前已啟動并運行FreeTDS 0.92.4 / unixODBC 2.3.1,與 MSSQL 服務器連接并能夠執(zhí)行查詢等。我找到了 Go 的 ODBC 實現(xiàn)列表,并嘗試了兩個粗體:BenoyRNair https://github.com/BenoyRNair/godbc/魏光景https://github.com/weigj/go-odbc馬克·塞弗森 https://bitbucket.org/miquella/mgodbc盧克·莫爾丁https://github.com/LukeMauldin/lodbc羅伯特·約翰斯通https://bitbucket.org/rj/odbc3-go/聰明人 http://code.google.com/p/odbc/管理數(shù)據庫我收到了一堆棄用警告(查看它們在 OSX 10.8 及更高版本中已棄用的標頭):cc1: warnings being treated as errorsmgodbc.go: In function 'mSQLColAttribute':mgodbc.go:31: warning: 'SQLColAttributeW' is deprecated (declared at /usr/include/sqlucode.h:128)mgodbc.go: At top level:mgodbc.go:44: warning: 'SQLDisconnect' is deprecated (declared at /usr/include/sql.h:896)mgodbc.go:51: warning: 'SQLGetDiagRecW' is deprecated (declared at /usr/include/sqlucode.h:233)mgodbc.go:62: warning: 'SQLGetInfoW' is deprecated (declared at /usr/include/sqlucode.h:273)mgodbc.go:67: warning: 'SQLBindParameter' is deprecated (declared at /usr/include/sqlext.h:2519)mgodbc.go:70: warning: 'SQLDriverConnectW' is deprecated (declared at /usr/include/sqlucode.h:336)mgodbc.go:73: warning: 'SQLSetEnvAttr' is deprecated (declared at /usr/include/sql.h:1120)mgodbc.go:74: warning: 'SQLFreeHandle' is deprecated (declared at /usr/include/sql.h:942)mgodbc.go:75: warning: 'SQLSetConnectAttrW' is deprecated (declared at /usr/include/sqlucode.h:245)mgodbc.go:78: warning: 'SQLGetDiagFieldW' is deprecated (declared at /usr/include/sqlucode.h:223)mgodbc.go:82: warning: 'SQLRowCount' is deprecated (declared at /usr/include/sql.h:1076)mgodbc.go:98: warning: 'SQLGetData' is deprecated (declared at /usr/include/sql.h:975)mgodbc.go:99: warning: 'SQLEndTran' is deprecated (declared at /usr/include/sql.h:902)mgodbc.go:102: warning: 'SQLCloseCursor' is deprecated (declared at /usr/include/sql.h:831)mgodbc.go:103: warning: 'SQLPrepareW' is deprecated (declared at /usr/include/sqlucode.h:239)
- 1 回答
- 0 關注
- 212 瀏覽
添加回答
舉報
0/150
提交
取消