Changeset 31387 for trunk/ippToPsps/jython/mysql.py
- Timestamp:
- Apr 27, 2011, 9:48:39 AM (15 years ago)
- File:
-
- 1 edited
-
trunk/ippToPsps/jython/mysql.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippToPsps/jython/mysql.py
r31380 r31387 92 92 93 93 ''' 94 Replaces all NULL values in the provided table and column ith the provided substitute 95 ''' 96 def replaceNullsInThisColumn(self, tableName, column, sub): 97 98 sql = "UPDATE " + tableName + " SET " + column + " = " + sub + " WHERE " + column + " IS NULL" 99 print sql 100 self.stmt.execute(sql) 101 102 ''' 94 103 Replaces all NULL values in the provided table with the provided substitute 95 104 '''
Note:
See TracChangeset
for help on using the changeset viewer.
