Replace one element of a tuple (LONG)

BartlebyScrivener rpdooling at gmail.com
Thu Jun 1 19:27:25 EDT 2006


>> that one column is always the same, the name of the host that
>> the database resides on.

Then why are you pulling all of the other stuff out of the db? Why
don't you just

UPDATE tablename
    SET hostname(or colname) = 'localhost'
    WHERE search condition = the rows you want to change




More information about the Python-list mailing list