Upper case identifier

Discussion of open issues, suggestions and bugs regarding UniDAC (Universal Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
chkaufmann
Posts: 82
Joined: Sat 01 Jul 2006 11:42

Upper case identifier

Post by chkaufmann » Tue 31 Jul 2012 11:17

Hi,

is there a way to force UniDac to "uppercase" all field names in result datasets?

cu Christian

AlexP
Devart Team
Posts: 5530
Joined: Tue 10 Aug 2010 11:35

Re: Upper case identifier

Post by AlexP » Tue 31 Jul 2012 12:31

hello,

When adding fields (ADD ALL FIELDS), the fields are added in such case as they are stored at a server. So, if you need your fields to be uppercase, you should just create them uppercase.
Automatic case change at fields adding is not supported.
P.S. Please explain the need of changing the field names to uppercase

chkaufmann
Posts: 82
Joined: Sat 01 Jul 2006 11:42

Re: Upper case identifier

Post by chkaufmann » Tue 31 Jul 2012 13:45

In my library there are some checks on field names and these are not case sensitive. Normally we create all DB fields in upper case letters, but now I use the library to access an "external" database where field names are uppercase as well, but for one customer, they have lowercase fields. It's an Esri ArcSDE GeoDatabase.

cu Christian

AlexP
Devart Team
Posts: 5530
Joined: Tue 10 Aug 2010 11:35

Re: Upper case identifier

Post by AlexP » Tue 31 Jul 2012 15:04

hello,

As I wrote you before, automatic DB field names reduction is not supported, therefore you should correct your checkings, so that they would be case-insensitive, or reduce the field names to upper-case directly in the query, i.e.

Select ArcSDE as ARCSDE from table

Post Reply