How can we make Telerik Grid generate such kind of simpler queries? -



How can we make Telerik Grid generate such kind of simpler queries? -

we utilize telerik grid (in asp.net ajax).

it's convenient utilize column grid filters because allow avoid lot's routine job.

but bad size used generate such kind of queries our sql server:

select * [dbo].[opcatalogue] [t0] (convert(nvarchar(max), (case when 0 = 1 convert(nvarchar(40), '') else convert(nvarchar(40), [t0].[sku]) end))) 'something%'

this query works without using indices, much more prefer build sql this:

select * [dbo].[opcatalogue] [t0] [t0].sku 'something%'

this way it's going utilize index , work much faster.

how can create telerik grid generate such kind of simpler queries?

thanks!

telerik-grid

Comments

Popular posts from this blog

java Multi query from Mysql using netbeans -

c# - DotNetZip fails with "stream does not support seek operations" -

c++ - StartServiceCtrlDispatcher don't can access 1063 error -