Try to get the simplest sqlite example working using database/sql. This
is to get config issues common with database servers out of the way.
Such example has been discussed several times in the past in this very
mailing list.
Once you get the example with sqlite working, substitute driverName and
dataSourceName passed to the following function:
https://golang.org/pkg/database/sql/#Open
...with respective SQL Server/MS Access values.
If your example doesn't work after the substitution, then you configured
your database or connection string (dataSourceName) incorrectly.
On 15/06/17 21:57, Vikram Rawat wrote:
I have read like every blog about database but I am not able to
understand how to connect GOLANG to
1. SQL Server
2. MS Access
can anybody please tell me how to query these databases please
--
You received this message because you are subscribed to the Google
Groups "golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to golang-nuts+unsubscr...@googlegroups.com
<mailto:golang-nuts+unsubscr...@googlegroups.com>.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.