Hello,
Sorry, my bad.
My dev env is: XE7, UniDAC 6.02, MySQL 5.5.17
Also please check the update below
The tables are created like this:
Code: Select all
CREATE TABLE `ss` (
`id` INT(10) NOT NULL DEFAULT '0',
`idType` INT(10) NOT NULL,
`idCustomer` INT(10) NOT NULL,
PRIMARY KEY (`id`)
)
COLLATE='utf8_general_ci'
ENGINE=InnoDB;
Code: Select all
CREATE TABLE `types` (
`id` INT(10) NOT NULL DEFAULT '0',
`name` VARCHAR(50) NOT NULL,
`price` FLOAT NOT NULL DEFAULT '0',
PRIMARY KEY (`id`)
)
COLLATE='utf8_general_ci'
ENGINE=InnoDB;
Update: It looks in fact like it's a matter of capitalization.
Code: Select all
select ss.id, types.name from ss inner join types on ss.idType=types.id; #no error
select ss.Id, types.Name from ss inner join types on ss.idType=types.id; #ESmartFetchError
Please do not take in consideration the phrase in my anterior post since the capitalization is not the same I used in production code.[/i]
Thank you very much.