We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
conn, _ := odbc.Connect(connstr) sql := "select CLASS_ID,CLASS_NAME from COMM_RES_CLASS where CLASS_PID='" + media_guid + "' order by CREATE_TIME" stmt, _ := conn.Prepare(sql) stmt.Execute() rows, _ := stmt.FetchAll() stmt.Close() for _, row := range rows { fmt.Println(row.GetString(0)) } conn.Close()
结果中的36位guid编码被截断了,请问如何处理?
The text was updated successfully, but these errors were encountered:
你看看 COMM_RES_CLASS 定义 CLASS_ID 是不是小于36*2=72个字符, 建议定义为 varchar(72)或更大,这似乎是go-odbc的bug
Sorry, something went wrong.
No branches or pull requests
结果中的36位guid编码被截断了,请问如何处理?
The text was updated successfully, but these errors were encountered: