Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
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

 


Comment on Re: sql server procedure
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://563721]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (10)
As of 2014-12-19 22:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (94 votes), past polls