0

I'm wanting to call a SQL Server stored procedure using node.js with the mssql + tedious module. One of the parameters I need to pass in is of a user-defined table type. I have a UDT parameter type available in this library which takes a Buffer for the value. However, I have no idea how to format a user-defined table type.

Is there a specification out there that explains how to serialize user-defined table type data?

1 Answer 1

1

I think my confusion was a case of inconsistent terminology.

According to Table Valued Parameter (TVP) Values in MSDN, user-defined table types are the same as TVPs. TVPs are supported directly according to the README of node-mssql.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.