MySql table is created with this mysql command: CREATE TABLE `recyklace` ( `cislo` bigint(6) NOT NULL default '0', `jmeno` varchar(50) NOT NULL default '', `telefon` varchar(15) NOT NULL default '', `datum_prev` date NOT NULL default '0000-00-00', `datum_predp` date NOT NULL default '0000-00-00', `datum_predano` date NOT NULL default '0000-00-00', `popis` text NOT NULL, `typ` tinyint(4) NOT NULL default '0', `cena_predp` bigint(6) NOT NULL default '0', `cena_nakup` bigint(6) NOT NULL default '0', `marze` tinyint(4) NOT NULL default '0', `hotovo` tinyint(1) NOT NULL default '0', `prevzeto` tinyint(1) NOT NULL default '0', `index` bigint(20) NOT NULL auto_increment, PRIMARY KEY (`index`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=10 ; INSERT INTO `recyklace` VALUES (1, 'Dlesek', '606060606', '2005-10-04', '2005-10-04', '0000-00-00', 'abc', 2, 122, 0, 0, 0, 0, 1); Create in ODBC the DNS (i have name SERVIS) with connection to this table and compile my test solution. Goto menu Help => About Test and click on the "Button1" button. This make exception with error "no rows were aff..." Code with this test delete or update command is in this function: void CAboutDlg::OnBnClickedButton1() Thanks for compliance. PS: Sorry for my bad English.