go-mssqldb
Microsoft SQL server driver written in go language (by microsoft)
odbc
odbc driver written in go (by alexbrainman)
go-mssqldb | odbc | |
---|---|---|
2 | 4 | |
279 | 352 | |
4.7% | - | |
5.9 | 3.4 | |
25 days ago | about 1 month 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.
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 2022-10-09.
-
Go w/ MSSQL - Experiences?
However, if I were starting today, I would use the Microsoft driver - especially if I was doing anything with Azure. Over the next year I will likely migrate to use this package. I'm just not sure how much the original driver will be updated now that Microsoft is working on a fork.
- Microsoft's fork of denisenkom/go-mssqldb Golang SQL Server Driver
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?
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
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
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:
xelogstash - Send SQL Server Extended Events to Logstash, Elastic Search, or JSON
accessDBwE - Golang Microsoft Access Driver Add-On supporting decoding without password
go-mssqldb - Microsoft SQL server driver written in go language
mssqlodbc - GO helper library for MSSQL ODBC connections