SoftTree Technologies SoftTree Technologies
Technical Support Forums
RegisterSearchFAQMemberlistUsergroupsLog in
12.4.476: Messages Pane doesn't show all errors?

 
Reply to topic    SoftTree Technologies Forum Index » SQL Assistant View previous topic
View next topic
12.4.476: Messages Pane doesn't show all errors?
Author Message
Mindflux



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

Post 12.4.476: Messages Pane doesn't show all errors? Reply with quote
I'm seeing an oddity with the SQL Asssistant messages pane versus the SSMS messages pane.

I'm working with some temporary tables and occasionally if I am working with a subset of my script and miss the create table part of the script

SSMS's pane will tell me invalid object name 'tablename'
SA's messages pane just gives me a success message.


See image:


Thu Mar 28, 2024 8:59 am View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7849

Post Reply with quote
If you use both of them to execute the queries, it may result in out of sequence internal code execution
Thu Mar 28, 2024 1:05 pm View user's profile Send private message
Mindflux



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

Post Reply with quote
SysOp wrote:
If you use both of them to execute the queries, it may result in out of sequence internal code execution


I'm only using the SSMS results pane and execution if I get back a dubious execution result from SQL Assistants execution. Such as the example above, where SQL Assistant didn't warn me about the non existent object.
Thu Mar 28, 2024 1:13 pm View user's profile Send private message
Mindflux



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

Post Reply with quote
SQL Editor does as one might expect (gives proper errors).

I closed out SSMS, re-opened it and tried to select * from no_table; and ONLY executed SQL Asisstant's results (Ctrl+Shift+F9) and still got back no error.
Thu Mar 28, 2024 1:18 pm View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7849

Post Reply with quote
Can you please try executing
SELECT SERVERPROPERTY('ServerName'), DB_NAME()

query using both methods? Same result?
Thu Mar 28, 2024 4:14 pm View user's profile Send private message
Mindflux



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

Post Reply with quote
SysOp wrote:
Can you please try executing
SELECT SERVERPROPERTY('ServerName'), DB_NAME()

query using both methods? Same result?


Both come back with the appropriate results.

I can also confirm that my laptop at home, VPN connected to the same Server/DB gives me the same results as my desktop at work. Where the SSMS Execution will throw an error but the SQL Assistant one will not.
Thu Mar 28, 2024 4:53 pm View user's profile Send private message
Mindflux



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

Post Reply with quote
exec non_existent_stored_procedure; also comes back clean executing with SA, but errors with SSMS.
Thu Mar 28, 2024 5:03 pm View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7849

Post Reply with quote
I suppose SELECT 1/0 too returns no error?
Thu Mar 28, 2024 5:26 pm View user's profile Send private message
Mindflux



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

Post Reply with quote
SysOp wrote:
I suppose SELECT 1/0 too returns no error?


Correct. But this one also shows me a data tab with a no name column with no result.
Thu Mar 28, 2024 5:28 pm View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7849

Post Reply with quote
I managed to reproduce the same results with 12.4 and SSMS 19. It only occurs within SSMS.
Thu Mar 28, 2024 7:41 pm View user's profile Send private message
Mindflux



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

Post Reply with quote
SysOp wrote:
I managed to reproduce the same results with 12.4 and SSMS 19. It only occurs within SSMS.


Okay I’m on SSMS 19.3 and the latest sql assistant. I guess there’s some incompatibility?
Thu Mar 28, 2024 8:05 pm View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7849

Post Reply with quote
FYI, I opened an internal ticket to investigate this issue, will keep you posted on the progress.
Fri Mar 29, 2024 9:27 am View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7849

Post Reply with quote
It turns out the error message firing event regressed after SSMS 19.0 Preview 4 version, after SA add-on for SSMS 19 was already developed.
Fixing that compatibility issue requires code changes in the addon. The issue applies to not yet released add-on for SSMS 20.0 as well.


Last edited by SysOp on Mon Apr 01, 2024 8:49 am; edited 1 time in total
Fri Mar 29, 2024 1:48 pm View user's profile Send private message
Mindflux



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

Post Reply with quote
SysOp wrote:
It turns out the error message firing event regressed after SSMS 19.0 Preview 4 version, after SA add-on for SSMS 19 was already developed.
Fixing that compatibility issue requires code changes in the addon. The issue applies to not yet released add-on for SSMS 20.0.


Thanks for the update. I wonder if I experienced it before because it totally felt like deja-vu when I was trying to figure out what the heck was going on at first.
Fri Mar 29, 2024 9:11 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.