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:
@ -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.
|
||||
|
||||
Reference in New Issue
Block a user