go-mssqldb VS odbc

Compare go-mssqldb vs odbc and see what are their differences.

go-mssqldb

Microsoft SQL server driver written in go language (by denisenkom)

odbc

odbc driver written in go (by alexbrainman)
Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
go-mssqldb odbc
5 4
1,792 336
- -
1.6 2.5
3 months ago 24 days ago
Go Go
BSD 3-clause "New" or "Revised" License BSD 3-clause "New" or "Revised" License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

go-mssqldb

Posts with mentions or reviews of go-mssqldb. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-02-23.

odbc

Posts with mentions or reviews of odbc. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-10-09.
  • Go w/ MSSQL - Experiences?
    9 projects | /r/golang | 9 Oct 2022
    I started out using the ODBC driver wrapper when there weren't good choices for native drivers. I wrote a little helper package to figure out the best ODBC driver to use: https://github.com/billgraziano/mssqlodbc. Lots of the code I wrote would run in different environments with different configurations. That package is a little out of date now.
  • MS Access Client
    2 projects | /r/golang | 12 Aug 2022
    Avoiding CGO is not a reasonable request in this case. In Windows, only one process can have a file open at a time, so if multiple processes are going to access a file, it must be mediated by a server-type process that owns the file, or by serializing access with file-level locking. Since the latter would require built-in support in the software already, you are left with what Access uses - which is system-mediated driver access through either ODBC or ADODB. https://github.com/alexbrainman/odbc https://github.com/bennof/accessDBwE
  • Static Go Binary with ODBC
    1 project | /r/golang | 2 Jun 2021
    I was trying to build a static binary for Linux that includes ODBC (which needs cgo) inside of it and was failing to do that. This is the library I'm trying to build with https://github.com/alexbrainman/odbc .

What are some alternatives?

When comparing go-mssqldb and odbc you can also consider the following projects:

gofreetds - Go Sql Server database driver.

accessDBwE - Golang Microsoft Access Driver Add-On supporting decoding without password

go-sql-driver/mysql - Go MySQL Driver is a MySQL driver for Go's (golang) database/sql package

xelogstash - Send SQL Server Extended Events to Logstash, Elastic Search, or JSON

pq - Pure Go Postgres driver for database/sql

goriak - goriak - Go language driver for Riak KV

go-sqlite3 - sqlite3 driver for go using database/sql

sqlx - general purpose extensions to golang's database/sql

go-bqstreamer

avatica

firebirdsql - Firebird RDBMS sql driver for Go (golang)

bgc - Datastore Connectivity for BigQuery in go