if exists (select * from sys.sysobjects where id = object_id(N'dbo.UserInfo') and type = 'U')
    exec ('insert into dbo.UserAccount (ID, FullName, ConnectionOverrides, IsTemplate, Email, IsOwner, Password, PasswordSalt, LastLoginDate, LastPasswordChangedDate, PersonalConnectionCacheID, PersonalConnections, Data, CreationDate, CreatedByUserName, CreatedByLoggedUserName, ModifiedDate, ModifiedUserName, ModifiedLoggedUserName)
select ID, FullName, ConnectionOverrides, IsTemplate, Email, IsOwner, Password, PasswordSalt, LastLoginDate, LastPasswordChangedDate, PersonalConnectionCacheID, PersonalConnections, Data, CreationDate, CreatedByUserName, CreatedByLoggedUserName, ModifiedDate, ModifiedUserName, ModifiedLoggedUserName from dbo.UserInfo');