Subject | Re: [ib-support] Re: Case Sensitivity on Indices |
---|---|
Author | Martijn Tonies |
Post date | 2003-01-16T17:58:50Z |
> SELECT Employee.*Can I shout "VIEWS!"
> FROM Employee
> WHERE UpperLastName = 'CAILLOUET'
>
> becomes
>
> SELECT Employee.*
> FROM Employee
> WHERE LastName = 'CAILLOUET'
select ...
from employee_v
where last_name_search = 'CAILLOUET'
Then, port the view so that "last_name_search" simply
points to the "normal" (propercase) column and with
Firebird, to it's shadow column.
> The problem comes from the Employee.* which will returnThere's more to crusade against :)
> your ugly upper case data. But everyone knows that the
> beauty of relational databases is the independence of
> program logic from the physical layout of the database -
> adding a field to a table doesn't break applications
> unless you use the asterisk wild card. Since no professional
> programmer would ever use that in anything but a sample
> program... Sorry. That's one of my crusades against
> SQL....
With regards,
Martijn Tonies
InterBase Workbench - the developer tool for InterBase & Firebird
Firebird Workbench - the developer tool for Firebird
Upscene Productions
http://www.upscene.com
"This is an object-oriented system.
If we change anything, the users object."