Guest User

Untitled

a guest
Mar 13th, 2018
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.15 KB | None | 0 0
  1. ALTER TABLE people DROP COLUMN pid;
  2. ALTER TABLE people ADD pid VARCHAR(5);
  3. ALTER TABLE people ADD CONSTRAINT unique_pid UNIQUE (pid, company_id);
Add Comment
Please, Sign In to add comment