microsoft / go-mssqldb

Microsoft SQL server driver written in go language
BSD 3-Clause "New" or "Revised" License
283 stars 63 forks source link

Cannot insert sql.Varchar into varchar column #59

Open mskonovalov opened 1 year ago

mskonovalov commented 1 year ago

Describe the bug A clear and concise description of what the bug is.

If you are seeing an exception, include the full exceptions details (message and stack trace).

Exception message:
Stack trace:
mssql: invalid type for varchar column: mssql.VarChar

Expected behavior mssql.VarChar should be inserted into varchar column

shueybubbles commented 1 year ago

@mskonovalov can you provide a bit of sample code?

grrlgeek commented 1 year ago

@mskonovalov Is this still an issue, and if so can you provide sample code?