Advertisement
Guest User

Untitled

a guest
Jun 19th, 2019
59
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 KB | None | 0 0
  1. con = cx_Oracle.connect(connectString)
  2. cur = con.cursor()
  3. sandy_pet_statement = 'select name, owner, type from cx_pets where owner =
  4. args = {':owner': sandy_id ,':any_param' = 'anyname'}
  5. cur.execute(sandy_pet_statement,args )
  6. res = cur.fetchall()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement