Dave Merrill
04/04/2024, 8:05 PMAdam Cameron
Adam Cameron
Dave Merrill
04/04/2024, 8:06 PMAdam Cameron
Adam Cameron
Adam Cameron
Adam Cameron
Mark Takata (Adobe)
04/04/2024, 8:11 PMAdam Cameron
Mark Takata (Adobe)
04/04/2024, 9:37 PMAdam Cameron
Adam Cameron
Mark Takata (Adobe)
04/04/2024, 10:19 PMgavinbaumanis
04/04/2024, 10:36 PMSELECT
id, description, 'MYVALUE'
FROM
someTable
Which would give you results like;
1,Description 1 is here, MYVALUE
2,Dexcription 2 is here, MYVALUE
...
I do this when I am working with a lot of joins and want it to be clear where the data from one table stops and the next starts;
select
'111111', a.id, a.xxx, '222222', b.id, b.yyy
from
someTable a
inner join someOtherTable b on ...
111111, 1, xxx, 222222, 14, yyy
111111, 2, xxx, 222222, 87, yyy
...aliaspooryorik
setColumnNames - turns out you can use it to add columns as well... https://trycf.com/gist/d4c243c3130925290dd4abc27cf29a7a/lucee5?theme=monokaialiaspooryorik
aliaspooryorik
Evil Ware
04/05/2024, 12:12 PM