 |
SoftTree Technologies
Technical Support Forums
|
|
Author |
Message |
gemisigo
Joined: 11 Mar 2010 Posts: 2165
|
|
[11.5.362 Pro] - Predicted table structure glitch (MariaDB) |
|
There's a minor glitch when displaying the predicted table structure for a table (hover on) that has been/will be created using the CREATE TABLE ... AS SELECT... statement. Check this short video here.
I'm joining two tables and explicitly list all the columns I want the new table to have. However, when I hover the mouse cursor over the newly created table, SA displays the tooltip showing all the columns from the first table in the join and none of those from the second one. Moreover, it keeps its (otherwise wrong) opinion about the columns even after creating the table but that's at least consistent with the prediction. It's great that it recognizes that the table will probably change and it tries to show its future state instead of the current, unfortunately, it guesses that state incorrectly.
|
|
Wed Jul 28, 2021 8:12 am |
|
 |
SysOp
Site Admin
Joined: 26 Nov 2006 Posts: 7948
|
|
|
|
I'm reposting here to confirm that this issue has been reproduced by our team and I submitted a defect for it to fixed. The defect number is #SA0041638. Hopefully it is going to be fixed soon.
Also moving here my follow up message which I accidentally entered in a different topic
 |
 |
Just in case, if you have a table declared in script, a table variable, or CREATE TABLE DDL, the intellisense always uses definition given in the script over definition of the existing table in the database. If a temporary table is created using other SQL, like CREATE TABLE ... AS SELECT ..., or SELECT ... INTO #temp_table, then it attempts to recognize how that table may look like in ruin-time. |
|
|
Fri Jul 30, 2021 9:35 am |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|