node-mssql
node-mssql copied to clipboard
File saving in MS SQL table
How can I save file buffer in MS SQL database table.
I am using fs package to read the file, fs.readFile(temp_path, 'utf8', function (err, data) {
and passing to insert statement for image field in database.
But conversion error is coming.
Best to ask support questions like this on StackOverflow