I'm trying to send some data to my database with MSSQL. I achieved to send data using the node, but when I need to send data from the flow, it is not working.
I have OPCUA node that retrieves a bool, and i need to send it to the database.
That node is over 7 years old, uses old libraries (with CVE issues) and has a number of known bugs and last, but not least, does not have the additional features that make mssql-plus the best SQL node in the catalog.
I suggest you remove that and add the newer/better one and use parameters.
You have 2 choices to acheive that ^
remove all traces of mssql from your flows
remove node-red-contrib-mssql via palette manager
install node-red-contrib-mssql-plus via palette manager
restart node-red
add the SQL nodes back into your flows
OR
stop node-red
run npm remove node-red-contrib-mssql (in a terminal, in ~/.node-red)
run npm install node-red-contrib-mssql-plus (in a terminal, in ~/.node-red)
start node-red
The 2nd version is my recommendation but not everyone is comfortable with command line.