Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

Deleting Rows in SAS

From: Elliot Tagtmeier <Elliot.Tagtmeier(at)ger.sas.com>
Date: Mon Jun 25 2007 - 06:03:02 EDT


How can I update my MySQL database with data I have from a SAS Data Set without losing my primary key and other formatting? I am trying to simply delete all rows and import all again, but I get the following error message. It seems that any time I try to update by removing old data and inserting new data, I get this message. Any help would be wonderful.

Proc sql;
  DELETE * FROM mysql.testtable;

ERROR: Error updating table entry: [MySQL][ODBC 3.51

       Driver][mysqld-5.0.41-community-nt-log]Optional feature not implemented ERROR: ROLLBACK issued due to errors for data set MYSQL.testtable.DATA. NOTE: Deletes were rolled back by the DBMS software.

Thanks,

Elliot

SAS PremiumReporting - Testen Sie unsere Reportinglosung mit Ihrer personlichen Online-Demo Gleich anmelden unter www.premiumreporting.de

SAS Institute GmbH, In der Neckarhelle 162, 69118 Heidelberg Registergericht: Mannheim HRB-Nr. 332269, Geschaftsfuhrer: Mikael Hagstrom Received on Mon Jun 25 08:40:00 2007

Do you need help?X

This archive was generated by hypermail 2.1.8 : Mon Jun 25 2007 - 08:40:03 EDT


Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library