 |
SoftTree Technologies
Technical Support Forums
|
|
Author |
Message |
Mindflux
Joined: 25 May 2013 Posts: 846 Country: United States |
|
[SA 11.5.362 Pro]: FOR XML insertion bug |
|
When writing a query using XML PATH/RAW, if you go back in to add columns after you've written your "FOR XML" after the FROM line, you get another "tablename as X" after the XML statement
video:
https://www.screencast.com/t/OjTgBWcA0D
Also you will notice that the popup does not recognize the existing table I'm working with after pressing comma and auto suggest columns in that table as it normally would. I have to type the table name again (which is probably part of why it inserts the table name). CTRL+SPACE to invoke the popup also does not smarten up the selector popup either.
|
|
Fri Aug 20, 2021 11:02 am |
|
 |
Mindflux
Joined: 25 May 2013 Posts: 846 Country: United States |
|
|
|
The popup selector smartens up if a join/where statement is added in after the FROM... probably because it can parse your typical DML statement.
|
|
Fri Aug 20, 2021 11:09 am |
|
 |
SysOp
Site Admin
Joined: 26 Nov 2006 Posts: 7948
|
|
|
|
Thank you. I have logged that as a defect, not sure what confuses it, maybe Intellisense somehow threats FOR... as a beginning of next statement, still I have trouble explaining the end result.
|
|
Fri Aug 20, 2021 12:05 pm |
|
 |
|
|
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
|
|
|