目前已启动并运行FreeTDS 0.92.4 / unixODBC 2.3.1,与 MSSQL 服务器连接并能够执行查询等。我找到了 Go 的 ODBC 实现列表,并尝试了两个粗体: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/管理数据库我收到了一堆弃用警告(查看它们在 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 回答
- 1 回答
- 0 关注
- 191 浏览
添加回答
举报
0/150
提交
取消