-
I switched to the "denisnkom" driver (https://github.com/denisenkom/go-mssqldb) as the stability of that improved.
-
Stream
Stream - Scalable APIs for Chat, Feeds, Moderation, & Video. Stream helps developers build engaging apps that scale to millions with performant and flexible Chat, Feeds, Moderation, and Video APIs and SDKs powered by a global edge network and enterprise-grade infrastructure.
-
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.
-
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.
-
(More shameless self-promotion) I also have a utility that pulls SQL Server extended events into Logstash or Elastic: https://github.com/billgraziano/xelogstash. This uses the native GO driver also without issues.
-
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.
-
Plus, if you look in the MS repository, you see a GO port of sqlcmd using the driver. Which also uses a different version of the "sql" package that handles PRINT statements. That certainly looks interesting.
-
I typically use sqlx to deal with query results.
-
InfluxDB
InfluxDB – Built for High-Performance Time Series Workloads. InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.