Posts
Sort by recent activity
Aliases not working when setting variable
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:DECLARE @PersonID INT
SET @PersonID = ( SELECT [Id] FROM [Dbo].[Person].....)
I...