go操作mssql

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)

posted @ 2022-07-27 21:31  delphi中间件  阅读(151)  评论(0编辑  收藏  举报