pekim/tedious — pull request #210 by krisklosterman (2014-10-23 20:05:16+00:00)
Title: Added Support for Char DataType as a Parameter

I am noob with CoffeeScript, and this is also the first time digging into tedious code base. I was able to insert data into a SQL Server database with a TYPE.Char parameter(Code shown below) Let me know if I went about this right or if any changes should be made.

````
connection.on('connect', function(err){
if (err) {
console.log(err);
return;
}
var request = new Request("INSERT INTO test.charTest (charType) VALUES (@charTypeValue)",
function(err){
if(err){
console.log(err);
};
});

request.addParameter('charTypeValue', TYPES.Char, 'TheFred');
//request.addParameter('charTypeValue', TYPES.VarChar, 'TheFred');

connection.execSql(request);
});
````