Skip to main content
Question

SQLCreator forces uppercase attribute names

  • February 12, 2019
  • 1 reply
  • 35 views

hanskoudijs
Forum|alt.badge.img

Using FME2018.1 and SQLcreator reading attributes from an Oracle database, the attribute names always are in uppercase (although written lowercased in the SQL-select statement). Is there a way to avoid forcing the names to uppercase (I know the use of attributemanager or bulkattributerenamer, but am looking for a way to just leave it as specified by my SQLselect-statement)? Is there e.g. some ..\\FME\\2018\\metafile-file where one can parameterise the behaviour?

1 reply

david_r
Celebrity
  • February 12, 2019

Oracle defaults to upper case column names unless you use double quotes to force the case, so this is not specific to FME. Since attributes in FME are case sensitive, they are created exactly as returned by Oracle.

Example using a column alias to force lower case in query result:

select my_column_1 as "my_column_1"
from my_table

Will be interpreted by Oracle as:

SELECT MY_COLUMN_1 AS "my_column_1"
FROM MY_TABLE

You can then expose my_column_1 in FME.


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings