[MDEV-23631] As a subquery running the command "DESC <tempoprary table name>" Created: 2020-08-31 Updated: 2020-09-06 Resolved: 2020-08-31 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Data Manipulation - Subquery |
| Fix Version/s: | N/A |
| Type: | Task | Priority: | Minor |
| Reporter: | Harun Tegmen | Assignee: | Sergei Golubchik |
| Resolution: | Won't Fix | Votes: | 0 |
| Labels: | optimizer | ||
| Description |
|
In subqueries SELECT command is supported. In order to evaluate the columns of a temporary table, If DESC command can be used as a subquery for REC in (DESC <table name>) do or to a "create temporary table" command like: create temporary table Temp1 as |
| Comments |
| Comment by Sergei Golubchik [ 2020-08-31 ] |
|
select from INFORMATION_SCHEMA.COLUMNS table |
| Comment by Harun Tegmen [ 2020-09-01 ] |
|
select ... from information_schema.columns For example: returns an EMPTY RESULT SET, only desc Table1; lists the column information of TEMPORARY table Table1 succesfully. How can be obtained column information of a TEMPORARY table as a server side CURSOR ? If the command "desc Table1;" can be used in subqueries, this will be achieved by direct way. |