go操作mssql
_ "github.com/mattn/go-adodb"
connstr := "Provider=SQLOLEDB Data;Source=127.0.0.1,8829;Initial Catalog=yndb;user id=sa;password=sql"
db, err := sql.Open("adodb", connstr)
go操作mssql
_ "github.com/mattn/go-adodb"
connstr := "Provider=SQLOLEDB Data;Source=127.0.0.1,8829;Initial Catalog=yndb;user id=sa;password=sql"
db, err := sql.Open("adodb", connstr)
本文来自博客园,作者:{咏南中间件},转载请注明原文链接:https://www.cnblogs.com/hnxxcxg/p/16526579.html