odbc icon indicating copy to clipboard operation
odbc copied to clipboard

odbc driver written in go

Results 72 odbc issues
Sort by recently updated
recently updated
newest added

Hello, first of all thanks so much for building this library; your work has been a great help :) ### TL;DR Statements executed via context will now return immediately if...

Hi, it seems that the driver doesn't implement the `driver.ExecerContext` interface. The `Execer` one is going to be deprecated soon. Apparently there is no way to cancel a request, as...

https://github.com/alexbrainman/odbc/blob/f0492dfa15751dfa8566a9eda47542a084908cdb/param.go#L142 when we execute sql like this: `INSERT INTO cy (`addr`, `city`, `con`, `coun`, `ctor`, `ctime`, `ctype`, `desc`, `don`, `emil`, `id`, `in_type`, `lo`, `mtme`, `ne`, `phe`, `pal`, `pe`, `sale`, `tus`,...

github.com/alexbrainman/odbc/api # github.com/alexbrainman/odbc/api /Users/yangsir/go/src/github.com/alexbrainman/odbc/api/api_unix.go:14:11: fatal error: 'sql.h' file not found #include ^~~~~~~ 1 error generated.

Perhaps related to [Issue 134](https://github.com/alexbrainman/odbc/issues/134). I'm trying to use the 4D v17 ODBC Driver 64-bit on Windows 10, and while I can connect and ping successfully when running within VS...

package main import ( "database/sql" "fmt" "log" _ "github.com/alexbrainman/odbc" ) func main() { db, err := sql.Open("odbc", "DSN=Power BI;Uid=USERNAME;Pwd=PASSWORD") if err != nil { log.Fatal(err) } defer db.Close() err =...

Hi Alex, I'm trying to use your odbc driver to connect to teradata but it is not working. I have configured the odbc driver correctly and based on the command...

I am trying to connect to an Informix DB. I managed to get everything working to the point where isql is working correctly. I am running on CentOS 7 using...

The session timezone parameter is ignored by the driver which always uses time.Local https://github.com/alexbrainman/odbc/blob/master/column.go#L141 case api.SQL_C_TYPE_TIMESTAMP: t := (*api.SQL_TIMESTAMP_STRUCT)(p) r := time.Date(int(t.Year), time.Month(t.Month), int(t.Day), int(t.Hour), int(t.Minute), int(t.Second), int(t.Fraction), time.Local) Could...

It appears I have run into the same error as https://github.com/alexbrainman/odbc/issues/99 I get the same panic, with the same strange characters. I do not know why I see these characters...