[MySQL] alter table:

Forum related to version 6.5.1 (alpha) and 6.6.x (beta) of ZeosLib's DBOs

Moderators: gto, cipto_kh, EgonHugeist

Post Reply
misio
Fresh Boarder
Fresh Boarder
Posts: 3
Joined: 10.03.2006, 09:21

[MySQL] alter table:

Post by misio »

i using Zquery

Code: Select all

ALTER TABLE `web642_proby`.`kontakty`
  CHANGE COLUMN `gg` `gg` char(10) NOT NULL;
and my app change structure good BUT there is error message

"Can not open Resultset" ?? but i dont want to results i want only change table structure. Zeos makes this query to work ok but why this error show up ?
User avatar
mdaems
Zeos Project Manager
Zeos Project Manager
Posts: 2766
Joined: 20.09.2005, 15:28
Location: Brussels, Belgium
Contact:

Post by mdaems »

Do you 'open' the query? In case you don't want a resultset you should 'execute' the query instead of opening it. You can also use the ZsqlProcessor component.

Mark
Image
username
Fresh Boarder
Fresh Boarder
Posts: 5
Joined: 12.10.2005, 15:00
Location: Bolivia

Post by username »

Code: Select all

ZQuery.ExecSQL;
Post Reply