Hi
Thats the flow
[
{
"id": "ae2e5a45.2a7d68",
"type": "tab",
"label": "Test_MSSQL",
"disabled": false,
"info": ""
},
{
"id": "f24deb49.b51e08",
"type": "MSSQL",
"z": "ae2e5a45.2a7d68",
"mssqlCN": "72110aa3.1f7594",
"name": "TestQuery",
"query": "SELECT OPERATORE FROM tb_TEST WHERE N_PR=5 AND COD_PR=1253",
"outField": "payload",
"returnType": "0",
"throwErrors": "0",
"x": 470,
"y": 200,
"wires": [
[
"d07d615d.2ff93"
]
]
},
{
"id": "bf3ebe40.551bc",
"type": "inject",
"z": "ae2e5a45.2a7d68",
"name": "",
"topic": "",
"payload": "",
"payloadType": "date",
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"x": 260,
"y": 200,
"wires": [
[
"f24deb49.b51e08"
]
]
},
{
"id": "d07d615d.2ff93",
"type": "debug",
"z": "ae2e5a45.2a7d68",
"name": "",
"active": true,
"tosidebar": true,
"console": false,
"tostatus": false,
"complete": "true",
"targetType": "full",
"x": 650,
"y": 200,
"wires": []
},
{
"id": "72110aa3.1f7594",
"type": "MSSQL-CN",
"z": "",
"tdsVersion": "7_2",
"name": "TestDB",
"server": "dbserver",
"port": "1433",
"encyption": true,
"database": "DB_PR",
"useUTC": true,
"connectTimeout": "15000",
"requestTimeout": "15000",
"cancelTimeout": "15000",
"pool": "5"
}
]
The version of node is
node -v
V12.2.0
MSSQL for the test is : 2003
I tried with all the versions of TDS getting the same behavior, do I have to ask the administrator of the DB to perform configurations on the mssql server?
Something like
- Use Mixed Mode Security
- Turn on Named Pipes and TCPIP communication using the SQL Server configuration tool
Maybe I should try with a mssql 2016 or 2013, maybe I would have more chances to make it all work
Thank you very much for your availability