bk

收录了 1 篇文章 · 0 人关注

  • Go语言中查询SqlServer数据库

    一、Go语言中查询MsSQL数据库: // main.go package main import ( "database/sql" "fmt" "log" "time" _ "github.com/denisenkom/go-mssqldb" ) func main() { var isdebug = true var server = "localhost" var port = 1433 var user = "sa" var password = "123456xx" var datab...