SoftTree Technologies SoftTree Technologies
Technical Support Forums
RegisterSearchFAQMemberlistUsergroupsLog in
[12.4.476 Pro] - Mishandling of aliases in SQL Server

 
Reply to topic    SoftTree Technologies Forum Index » SQL Assistant View previous topic
View next topic
[12.4.476 Pro] - Mishandling of aliases in SQL Server
Author Message
gemisigo



Joined: 11 Mar 2010
Posts: 2109

Post [12.4.476 Pro] - Mishandling of aliases in SQL Server Reply with quote
The aliases for tables in SQL Server are not handled correctly. For example, I have a table named Adatblokk_copy which was created using the Clone feature. I have an alias pointing to that table, it is called Adatblokk.
The alias was created by this statement:
Code:

CREATE SYNONYM [dbo].[Adatblokk] FOR [EN_DATABLOCKS].[dbo].[Adatblokk_copy];


When hovering over the table/alias name in
Code:

SELECT [whatever] FROM [dbo].[Adatblokk];


the popup shows this:


which is a bit weird (and incorrect).

Also, when I ctrl+click on a column in, eg. the SI:
Code:

SELECT a.[AdatblokkId], a.[SI] FROM [dbo].[Adatblokk] AS a;


I get an error:
Quote:

Msg 208, Level 16, State 1, Invalid object name 'EN_DATABLOCKS.dbo.[dbo].[Adatblokk_copy]'....

Tue Apr 09, 2024 2:35 am View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7849

Post Reply with quote
Thank you for letting us know. I submitted a bug report for this issue. Tacking ticket number #SA0044513.
Tue Apr 09, 2024 8:31 am 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.