I have two tables with names and passwords. One table is Managers, another Table is Floor. Same column names, and everything. When I do searches, how can I make them act as one?if exists(SELECT UserName, Password FROM dbo.Floor Where UserName = @UserName)begin if exists (SELECT Active FROM dbo.Floor Where UserName = @UserName And Password = @Password and Active = 1) begin SELECT @FullName = FirstName + ' ' + LastName, @VMNum = VoiceMailNumber, @UserType = TerritoryType FROM dbo.Floor Where UserName = @UserName return(5) endelse return(1) endif exists(SELECT UserName, Password FROM dbo.Managers Where UserName = @UserName)begin if exists (SELECT Active FROM dbo.Managers Where UserName = @UserName And Password = @Password and Active = 1) begin SELECT @FullName = FirstName + ' ' + LastName, @VMNum = VoiceMailNumber, @UserType = TerritoryType FROM dbo.TerritoryManagers Where UserName = @UserName return(5)else return(1)end