Accessing Ms SQL Server with Go

332 views
Skip to first unread message

Tong Sun

unread,
Aug 23, 2016, 12:28:10 PM8/23/16
to golang-nuts
Hi, 

What's the widely used, most-actively-maintained GO library to access (R/W) Microsoft SQL Server?

I know that Microsoft SQL Server has various methods to access ODBC/ADO, etc, and there are lots of GO libraries at different stages as well. So which one is the most widely used and most actively-maintained? 

Thanks


gerald...@gmail.com

unread,
Aug 23, 2016, 1:41:21 PM8/23/16
to golang-nuts

Tong Sun

unread,
Aug 23, 2016, 1:43:38 PM8/23/16
to gerald...@gmail.com, golang-nuts
Latest commit 9 days ago. Thanks!

--
You received this message because you are subscribed to a topic in the Google Groups "golang-nuts" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/golang-nuts/6uJT1Tdgz0k/unsubscribe.
To unsubscribe from this group and all its topics, send an email to golang-nuts+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Tong Sun

unread,
Aug 23, 2016, 1:55:09 PM8/23/16
to golang-nuts
Latest commit 9 days ago. Great. Thanks!

Does it support trusted connection at all (no user/pass)? I've been looking all over the places but haven't found the answer yet. Thx. 


On Tue, Aug 23, 2016 at 1:41 PM, <gerald...@gmail.com> wrote:

Michael-John Turner

unread,
Aug 23, 2016, 3:55:01 PM8/23/16
to Tong Sun, golang-nuts
On Tue, Aug 23, 2016 at 01:54:50PM -0400, Tong Sun wrote:
> Does it support trusted connection at all (no user/pass)? I've been
> looking all over the places but haven't found the answer yet.

The docs suggest so:
"user id" - enter the SQL Server Authentication user id or the Windows
Authentication user id in the DOMAIN\User format. On Windows, if user id is
empty or missing Single-Sign-On is used.

(from the README).

Cheers, MJ
--
Michael-John Turner * m...@mjturner.net * http://mjturner.net/

brainman

unread,
Aug 24, 2016, 3:22:48 AM8/24/16
to golang-nuts
I use github.com/alexbrainman/odbc to access mssql server from windows.

Alex
Reply all
Reply to author
Forward
0 new messages