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
Once (shame on you!)
Twice (shame on me!)
More often than I'd like to be
All the time
Just when answering stupid polls
Who you callin' a fool?
I refuse to vote in this ridiculous poll
Results (529 votes). Check out past polls.