python clean sql string

Solutions on MaxInterview for python clean sql string by the best coders in the world

showing results for - "python clean sql string"
Marlene
07 Mar 2017
1sql = "INSERT INTO TABLE_A (COL_A,COL_B) VALUES (%s, %s)"
2cursor.execute(sql, (val1, val2))