Guest User

Untitled

a guest
Apr 19th, 2018
242
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.31 KB | None | 0 0
  1. #!/usr/bin/env ruby
  2.  
  3. require 'tiny_tds'
  4. server = 'xxx.database.windows.net'
  5. database = 'yyysqldb03'
  6. username = 'firstname.lastname@company.onmicrosoft.com'
  7. password = 'zzzz'
  8. client = TinyTds::Client.new username: username, password: password,
  9. host: server, port: 1433, database: database, azure: true
Add Comment
Please, Sign In to add comment