Skip to content
New issue

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

statement.execute with SQL server, varbinary column, and Buffer param #90

Open
mtdaniels opened this issue Jul 22, 2015 · 0 comments
Open

Comments

@mtdaniels
Copy link

I have a stored procedure that takes in a varbinary(max) as a parameter. I am using statement.execute([value], callback) to execute the stored procedure with this parameter. Using a Buffer object as the value yields this error:

[node-odbc] SQL_ERROR
[Microsoft][ODBC Driver 11 for SQL Server]Invalid SQL data type

Should I be passing in some other object type?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant