go-mssqldb
Microsoft SQL server driver written in go language (by denisenkom)
odbc
odbc driver written in go (by alexbrainman)
Our great sponsors
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.
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.
- Does sqlc/sqlx support MS-SQLServer? All examples for sqlc with postgres and mysql
-
Getting EOF when connecting to a database using sqlx
Where does the sql server one come from and what is it? I tried https://github.com/denisenkom/go-mssqldb and maybe im jsut tired from staring at this stuff half the day but i couldnt get it to work
-
Go w/ MSSQL - Experiences?
I switched to the "denisnkom" driver (https://github.com/denisenkom/go-mssqldb) as the stability of that improved.
-
go-mssqldb package DateTime issue
I am using github.com/denisenkom/go-mssqldb package to get data from SQL Server. After querying the data, I am scanning each row and filling up a struct array. While doing so I noticed that the datetime fields in SQL Server which have 00:00:00.000 as the time value for a date time column, truncates the milliseconds (or ignores the milliseconds). Did anyone face this issue and how did you resolve it?
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:
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