ESQL, like, limit and skip!!

Discussion of open issues, suggestions and bugs regarding Entity Framework support in ADO.NET Data providers
Post Reply
ies
Posts: 26
Joined: Thu 26 Feb 2009 08:10

ESQL, like, limit and skip!!

Post by ies » Mon 11 Jan 2010 07:46

hi,


We have problems with ESQL queries to view. It gives error when generating a query that uses a LIKE and ORDER BY with LIMIT and SKIP. We realized that the error occurs when applying to LIKE NOT NULL fields.

SELECT VALUE VCLIENTESBUSQUEDA FROM ModeloCliente.VCLIENTESBUSQUEDA as VCLIENTESBUSQUEDA
WHERE VCLIENTESBUSQUEDA.CODCLIENTE LIKE @valor0
ORDER BY VCLIENTESBUSQUEDA.CODCLIENTE ASC SKIP @skip LIMIT @limit

@valor0= cv003%


best regards,
________
Mexico Hotels
Last edited by ies on Thu 24 Feb 2011 06:06, edited 1 time in total.

AndreyR
Devart Team
Posts: 2919
Joined: Mon 07 Jul 2008 13:16

Post by AndreyR » Wed 13 Jan 2010 11:18

I have made some tests with the described scenario and everything succeeded.
Could you please send me the script of the table the problem is reproducible on?

ies
Posts: 26
Joined: Thu 26 Feb 2009 08:10

Post by ies » Mon 18 Jan 2010 10:20

Hi Andrey
I sent the script to your email.
Thanks
________
Hot Box Vaporizers

Post Reply