Subject | Re: [IBO] FROM Markus Ostenried |
---|---|
Author | james_027 |
Post date | 2003-07-15T09:03:03Z |
Thanks Markus.
Does anyone know whats the performance of this kind of sql?
select *
from customer
where (type = :paramtype) or (Cast('*' as VarChar(3)) = :paramtype)
Does it uses the indexes properly? how about on large table?
Does anyone know whats the performance of this kind of sql?
select *
from customer
where (type = :paramtype) or (Cast('*' as VarChar(3)) = :paramtype)
Does it uses the indexes properly? how about on large table?