Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: sql server procedure

by EdwardG (Vicar)
on Jul 26, 2006 at 07:50 UTC ( #563721=note: print w/replies, xml ) Need Help??


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

 

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://563721]
help
Chatterbox?
[LanX]: smoking in movies

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (13)
As of 2017-12-13 20:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What programming language do you hate the most?




















    Results (378 votes). Check out past polls.

    Notices?