Error

Unable to execute query.

DECLARE @PassphraseEnteredByUser nvarchar(128);
SET @PassphraseEnteredByUser 
    = 'I paint therefore 1 am';
	
SELECT 

LOWER((DecryptByPassphrase(@PassphraseEnteredByUser, OwnerName_enc, 1, CONVERT (varbinary, OwnerId) )) ) AS name,
LOWER((DecryptByPassphrase(@PassphraseEnteredByUser, PsuedoName, 1, CONVERT (varbinary, OwnerId) )) ) AS PsuedoName

FROM Owner OWN
LEFT JOIN UserProfile USRP
ON USRP.UserId = OWN.UserId

WHERE USRP.UserStatusId != 5 AND OWN.IsDeleted != 1