when QoQ is used, it sorts the query column, how can i force it to not sort and display in the same way as described in order
m
Myka Forrest
05/18/2023, 2:39 AM
I'm not exactly sure what you mean, but keep in mind that QoQ is case-sensitive.
And maybe show what you mean. Show your code, the results, and the expected results.
s
Simone
05/18/2023, 2:43 AM
ok, i did select userid,name,email from users; it dumps me out, email,name,users
m
Myka Forrest
05/18/2023, 2:47 AM
Dump always puts the columns in alphabetical order.
How will you use the columns? Are you using Adobe or Lucee? In Adobe at least, there's a way to get the columns in select-list order, I think it's
query.getColumnNames()
s
Simone
05/18/2023, 11:19 AM
ok, let me try the query.getcolumnnames i am using adobe cf2021
a
Adam Cameron
05/18/2023, 12:31 PM
Why are you perceiving that the column-order in a dump "matters"? That can't be why yer asking yer question; there must be more to it than this.
What's the actual problem yer trying to solve?