a guest Apr 27th, 2016 96 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- import pymssql
- def main():
- server = "mhknbn2kdz.database.windows.net"
- database = "AdventureWorks2012"
- user = "firstname.lastname@example.org"
- password = "sqlf@m1ly"
- conn = pymssql.connect(server, user, password, database)
- cursor = conn.cursor()
- print cursor
- if __name__ == '__main__':
RAW Paste Data