# Query Columns not Upper case

**URL:** <https://dev.lucee.org/t/query-columns-not-upper-case/7134>\
**Category:** support\
**Created:** [June 18, 2020, 7:10pm UTC](https://dev.lucee.org/t/query-columns-not-upper-case/7134 "2020-06-18T19:10:11Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![kpetrow](https://dev.lucee.org/user_avatar/dev.lucee.org/kpetrow/32/2382_2.png) [@kpetrow](https://dev.lucee.org/u/kpetrow)\
**Post date:** [June 18, 2020, 7:10pm UTC](https://dev.lucee.org/t/query-columns-not-upper-case/7134/1 "2020-06-18T19:10:11Z")

</div>

Switching over from old railo version to lucee. The columns of the query are not being returned in upper case.

{COLUMNS: Array(34), DATA: Array(12)}

COLUMNS are not case sensitive in lucee and not uppercased by default

COLUMNS in railo all the mysql columns are uppercased when being returned.

Any suggestions. Lots of front end code expected upper case columns and would a pain to have to go through upper case server side

EDIT  
\< cfprocessingdirective preservecase =“false” \>  
seems to work on made objects but not on queries

---

<div class="post-metadata">

**Author:** ![Julian\_Halliwell](https://dev.lucee.org/letter_avatar_proxy/v4/letter/j/2acd7d/32.png) [@Julian\_Halliwell](https://dev.lucee.org/u/Julian_Halliwell)\
**Post date:** [June 18, 2020, 8:21pm UTC](https://dev.lucee.org/t/query-columns-not-upper-case/7134/2 "2020-06-18T20:21:57Z")

</div>

Try adding this to your Application.cfc

```auto
this.serialization.preserveCaseForQueryColumn = false;

```
