SELECT * from databasename.tblUser WHERE userid <> 'value of current user login id'
SELECT * from tblUser WHERE userid not in (@UserID)
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)