I have managed to load data into a mssql database OK.
On reading it out the results length is undefined.
I suspect the data coming out isnt JSON so node doesnt know what to do with it.
I can see the data if I json.stringify it but it needs to be in JSON format for my program to use it.
Also if i "DROP TABLE xxxx IF EXISTS" the if exists causes a syntax error.
mssql seems to have a lot of functionality missing.
Have I missed something somewhere ?