mirror of
https://github.com/Microsoft/sql-server-samples.git
synced 2025-12-08 14:58:54 +00:00
Updated connection strings
This commit is contained in:
@ -2,9 +2,9 @@ var Connection = require('tedious').Connection;
|
||||
var config = {
|
||||
userName: 'yourusername',
|
||||
password: 'yourpassword',
|
||||
server: 'yourserver.database.windows.net',
|
||||
// When you connect to Azure SQL Database, you need these next options.
|
||||
options: {encrypt: true, database: 'AdventureWorks'}
|
||||
server: 'yourserver',
|
||||
|
||||
options: {encrypt: true, database: 'yourdatabase'}
|
||||
};
|
||||
var connection = new Connection(config);
|
||||
connection.on('connect', function(err) {
|
||||
|
||||
Reference in New Issue
Block a user