Guest User

Untitled

a guest
Dec 5th, 2017
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.35 KB | None | 0 0
  1. conn=pymssql.connect(host='117.103.192.45', user='vtcsmartcard', password='vtcsmartcard@2', database='kiosk.MonitorDB', as_dict=True)
  2. conn.autocommit=True
  3. cur=conn.cursor()
  4. cur.execute("exec SP_GetServices 214")
  5. row=cur.fetchone()
  6. print row
  7. None
  8. cur.execute("SELECT * FROM SERVICES")
  9. row=cur.fetchall()
  10. print row
Add Comment
Please, Sign In to add comment