I need to get list columns of some temporary table (MyISAM) in MySQL in view like number column
- name column
.
I need to know number of column with specific name. In advance, I can't know what is the number of column - I'm using dynamic sql with some variables to create temporary table.
I can not use show columns...
because I can't work with results of this function. I can't use INFORMATION_SCHEMA.COLUMNS
because it does not contains columns of temporary table.
Some ideas? Thanks in advance!