Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var Connection = require('tedious').Connection;
- var config = {
- userName: 'hackmatch',
- password: 'hackvalley123!',
- server: 'hackmatch.database.windows.net',
- options: {encrypt: true, database: 'AdventureWorks'}
- };
- var connection = new Connection(config);
- connection.on('connect', function(err) {
- // If no error, then good to proceed.
- console.log("Connected");
- });
- var Request = require('tedious').Request;
- var TYPES = require('tedious').TYPES;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement