Hi, This is what I'm trying to do something similar to the following request, but I don't know if it's possible with the SQL-Server syntax:
declare @idClient int
select @idClient=idClient from table
where entite is null and (SELECT * from table where entite=@idClient) is null
Thanks.