Why would this not work?<br><br>import pymssql<br><br>con = pymssql.connect(host=&#39;server name&#39;,user=&#39;username&#39;,password=&#39;pwd&#39;,database=&#39;Database&#39;)<br>cur = con.cursor()<br><br><br>query=&quot;TRUNCATE TABLE Consolidatedmsgs;&quot;
<br>cur.execute(query)<br>print &quot;Table Truncated: %d rows deleted&quot; % cur.rowcount<br>-----------<br>The return I get is that the program runs through but it doesn&#39;t actually truncate the table. <br>The user that runs this has all the rights (read, write, truncate, etc...)
<br><br>Any ideas? And yes, I am using a pymssql extension module. <br>