Subject | Re: like case insensitive |
---|---|
Author | peter_jacobi.rm |
Post date | 2004-05-20T18:44:29Z |
Hi Luciano,
--- Luciano RM <lcno@p...> wrote:
collation's name after collate, to make the COLLATE clause
a no-op on MS SQL and rename the desired collation for
Firebird to hear on this name.
Or, and even better, because it allows an index to be used,
put a collation into the column's DDL. Then at query time,
no difference is seen.
The LIKE has to re-formulated as BETWEEN (or straight comparison,
as BETWEEN is only syntactic sugar).
WHERE column BETWEEN 'text' AND 'textzzz'
Regards,
Peter Jacobi
--- Luciano RM <lcno@p...> wrote:
> I can not use this options because I´m hadling a code thatDoesn't MS SQL have COLLATE? You can use MS SQL's default
> uses Firebird and SQL-SERVER, so we insert the SQL statments
> by .SQL.Add property.
collation's name after collate, to make the COLLATE clause
a no-op on MS SQL and rename the desired collation for
Firebird to hear on this name.
Or, and even better, because it allows an index to be used,
put a collation into the column's DDL. Then at query time,
no difference is seen.
The LIKE has to re-formulated as BETWEEN (or straight comparison,
as BETWEEN is only syntactic sugar).
WHERE column BETWEEN 'text' AND 'textzzz'
Regards,
Peter Jacobi