in reply to sql server procedure
if not exists (select cust_id from X where cust_name = @name)
insert into X(cust_name) values (@name)
Beware race conditions
Yes, I watch meteor showers
No, I do not watch meteor showers
My meteors prefer to bathe
Results (154 votes). Check out past polls.