daily pastebin goal
16%
SHARE
TWEET

Untitled

a guest Apr 27th, 2016 96 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #!/usr/bin/python
  2. import pymssql
  3.  
  4. def main():
  5.    
  6.     server = "mhknbn2kdz.database.windows.net"
  7.     database = "AdventureWorks2012"
  8.     user = "sqlfamily@mhknbn2kdz.database.windows.net"
  9.     password = "sqlf@m1ly"
  10.  
  11.     conn = pymssql.connect(server, user, password, database)
  12.     cursor = conn.cursor()
  13.    
  14.     print cursor
  15.  
  16.  
  17. if __name__ == '__main__':
  18.     main()
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand