Guest User

Untitled

a guest
Dec 18th, 2016
34
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.44 KB | None | 0 0
  1. import fdb
  2. con = fdb.connect(
  3.     dsn='192.168.0.215:C:\PublicFolders\Services\Arena\DB\ARENA.GDB',
  4.     user='sysdba', password='masterkey'
  5.   )
  6. # Create a Cursor object that operates in the context of Connection con:
  7. cur = con.cursor()
  8. print ('-' * 78)
  9. cur.execute("select first(10) uid,uet from visit where uid=294581 order by uet desc")
  10. result = cur.fetchall()
  11. for row in result:
  12.     print(*row, sep = ' ID пациента - УЕТы ')
Add Comment
Please, Sign In to add comment