Subject | Error after migrating from 1.5 to 2.0 (SubString) |
---|---|
Author | Anderson - EasyBit |
Post date | 2007-01-29T18:01:54Z |
Hi,
A friend has migrated from 1.5 and the following SQL sentence report
the "expression evaluation not supported" error. He said that In
v1.5 the same SQL worked fine. Someone have any idea on how to solve this?
select tipotributo, produto, sum(SUBSTRING(quantidade from 1 for 2)) ,
sum(valorunitario) from itensvenda
where tipotributo = '1'
group by tipotributo, produto
order by sum(SUBSTRING(quantidade from 1 for 2)) desc
Thanks,
Anderson
A friend has migrated from 1.5 and the following SQL sentence report
the "expression evaluation not supported" error. He said that In
v1.5 the same SQL worked fine. Someone have any idea on how to solve this?
select tipotributo, produto, sum(SUBSTRING(quantidade from 1 for 2)) ,
sum(valorunitario) from itensvenda
where tipotributo = '1'
group by tipotributo, produto
order by sum(SUBSTRING(quantidade from 1 for 2)) desc
Thanks,
Anderson