Aliases not working when setting variable
M. Haar
Posts: 4
When you want to assign a value to a variable with the SET option then the the table name won't get an Alias.
Like:
It would be great if automatic assigning of aliasses worked in these kind of situations as wel!
Like:
DECLARE @PersonID INT SET @PersonID = ( SELECT [Id] FROM [Dbo].[Person].....)
It would be great if automatic assigning of aliasses worked in these kind of situations as wel!
Comments
Thanks for your suggestion! Hopefully this is a simple improvement to make so I'll look into implementing it now
Please let us know if it works for you!
Aaron.
Thanks for the quick response and even quicker resolution! I will install the update this evening and will let you know if that worked for me.
Marco.
Just wanted to let you know the fix works!
Thanks!
Marco.