a guest Mar 13th, 2018 54 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- ALTER TABLE people DROP COLUMN pid;
- ALTER TABLE people ADD pid VARCHAR(5);
- ALTER TABLE people ADD CONSTRAINT unique_pid UNIQUE (pid, company_id);
RAW Paste Data