1
0
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:
Meet Bhagdev
2016-07-18 17:09:13 -07:00
parent 74f3838a54
commit 226908823c
11 changed files with 36 additions and 72 deletions

View File

@ -5,8 +5,8 @@ require 'date'
#Connect to your database.
#Replace server name, username, and password with your credentials
client = TinyTds::Client.new username: 'username@servername', password: 'password',
host: 'servername.database.windows.net', port: 1433,
database: 'AdventureWorks', azure:true
host: 'servername', port: 1433,
database: 'databasename'
#SELECT
#Execute a simple select statement.