title: How to use python to execute mysql and use replace into - with more than 255 variables ?
body: <p>Here below is my code that I am using </p>
  
  <pre><code>con.execute("""
  REPLACE INTO T(var1,var2,...,var300)VALUES(?,?,....?)""",(var1,var2,...,var300)
  </code></pre>
  
  <p>This statement works just fine if I have var1-var255 , once I have more than that it gave me an error...
  So far, I was able to split T into 2 different times </p>
  
  <pre><code>con.execute("""
  REPLACE INTO T(var1,var2,...,var150)VALUES(?,?,....?)""",(var1,var2,...,var150)
  
  con.execute("""
  REPLACE INTO T(var151,var152,...,var300)VALUES(?,?,....?)""",(var151,var152,...,var300)
  </code></pre>
  
  <p>This gave me no error , but my final value in table "T" would only values in the second execute statement , all of <code>var1, var2, ... var 150</code> got replace with null</p>