Guest User

Untitled

a guest
Jun 22nd, 2018
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.21 KB | None | 0 0
  1. ALTER TABLE persona
  2. ADD CONSTRAINT checando
  3. EXCLUDE USING gist
  4. (persona.idcliente WITH =,
  5. empresa.idcliente WITH <>);
  6.  
  7. ALTER TABLE persona
  8. ADD CONSTRAINT checando
  9. check(persona.idcliente<>empresa.idcliente)
Add Comment
Please, Sign In to add comment