[Tutor] updating Oracle tables via python
WilliTf at dshs.wa.gov
Wed Mar 30 01:16:41 CEST 2005
I am attempting to update an Oracle table using python. When I execute the
code, the python script appears to hang, in that nothing else happens.
As always, any assistance you can provide will be appreciated.
connection = cx_Oracle.connect("db/password at dbname")
cursor = connection.cursor()
strUpdate = " UPDATE table SET firstname = 'JOSEPH' WHERE lastname =
DSHS - Research and Data Analysis Division
14th and Jefferson, MS: 45204
Olympia, WA 98504-5204
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Tutor