SoftTree Technologies SoftTree Technologies
Technical Support Forums
RegisterSearchFAQMemberlistUsergroupsLog in
[SA 11.5.362 Pro]: FOR XML insertion bug

 
Reply to topic    SoftTree Technologies Forum Index » SQL Assistant View previous topic
View next topic
[SA 11.5.362 Pro]: FOR XML insertion bug
Author Message
Mindflux



Joined: 25 May 2013
Posts: 812
Country: United States

Post [SA 11.5.362 Pro]: FOR XML insertion bug Reply with quote
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 View user's profile Send private message
Mindflux



Joined: 25 May 2013
Posts: 812
Country: United States

Post Reply with quote
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 View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7847

Post Reply with quote
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 View user's profile Send private message
Display posts from previous:    
Reply to topic    SoftTree Technologies Forum Index » SQL Assistant All times are GMT - 4 Hours
Page 1 of 1

 
Jump to: 
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


 

 

Powered by phpBB © 2001, 2005 phpBB Group
Design by Freestyle XL / Flowers Online.