My query returns a bunch of columns that I can't manually rename (using project-rename
) one by one. Also the input query is fixed , I can't change it and it may return different number of columns each time I run it, so I can't have a fixed project-rename
statement. For example lets say for one of the runs of the input query the result is the following columns:-
fixedstring_region
fixedstring_state
fixedstring_level
fixedstring_reach
fixedstring_mode
fixedstring_something
fixedstring_otherthing
... etc
These can be hundreds. I want to remove 'fixedstring_' from all of these. Is there some wild card technique for this?