Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: rows affected by an update command

by erix (Vicar)
on Nov 02, 2010 at 15:37 UTC ( #869024=note: print w/ replies, xml ) Need Help??


in reply to rows affected by an update command

Btw, if a table is 'supposed to be' one way or another, then it should be so constrained, so that the database won't allow any other state.

See, for instance: constraints

(INSERT ... RETURNING, if your database supports it, might be of interest too.)


Comment on Re: rows affected by an update command

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (9)
As of 2014-12-18 12:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

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





    Results (51 votes), past polls