select * From SMS_tblUser


select * from SMS_tblUserRowAccess


SELECT *
FROM dbo.SMS_vwGroupUser  
where ([UserID] = 2)


SELECT *
FROM dbo.SMS_vwGroupUser  where ([UserID] = 2)

exec sp_executesql N'UPDATE [SMS_tblUser] SET [IsDomainUser] = @IsDomainUser, [DomainName] = @DomainName, [UserName] = @UserName, [DomainUserID] = @DomainUserID, [StatusCode] = @StatusCode, [SiteID] = @SiteID, [CreatorID] = @CreatorID, [CreationDateTime] = @CreationDateTime, [LastModifierID] = @LastModifierID, [LastModificationDateTime] = @LastModificationDateTime, [PartyID] = @PartyID, [Comments] = @Comments, [Data] = @Data WHERE (([UserID] = @Original_UserID) AND ([TimeTag] = @Original_TimeTag));
SELECT UserID, IsDomainUser, DomainName, UserName, DomainUserID, StatusCode, SiteID, CreatorID, CreationDateTime, LastModifierID, LastModificationDateTime, TimeTag, PartyID, Comments, Data FROM SMS_tblUser WHERE (UserID = @UserID)',N'@IsDomainUser int,@DomainName nvarchar(4000),@UserName nvarchar(5),@DomainUserID uniqueidentifier,@StatusCode int,@SiteID int,@CreatorID int,@CreationDateTime datetime,@LastModifierID int,@LastModificationDateTime datetime,@PartyID int,@Comments nvarchar(4000),@Data nvarchar(192),@Original_UserID int,@Original_TimeTag timestamp,@UserID int',@IsDomainUser=0,@DomainName=N'',@UserName=N'63493',@DomainUserID='00000000-0000-0000-0000-000000000000',@StatusCode=1,@SiteID=1,@CreatorID=2,@CreationDateTime='2014-02-15 14:37:41',@LastModifierID=2,@LastModificationDateTime='2019-11-24 13:42:03',@PartyID=1335,@Comments=NULL,@Data=N'179096245244197187224006168241191211271168141211182191122144180168241198247090197211111000162277137236295289051105240240238186136145137209057045131102173114209182256112242131215235110187063237',@Original_UserID=3,@Original_TimeTag=0x00000000003CA371,@UserID=3