Guest User

Untitled

a guest
Jan 17th, 2018
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.36 KB | None | 0 0
  1. WITH data only, disable triggers, no truncate, include no drop, create no tables, create indexes, reset sequences, downcase identifiers, uniquify index names, no foreign keys
  2.  
  3. MATERIALIZE VIEWS
  4. Contacts AS $$ SELECT ContactID, `Primary` AS primary_contact, ContactFirst, ContactLast, ContactEmail, DateModified FROM Contacts
  5.  
  6. EXCLUDING TABLE NAMES MATCHING 'Contacts'
Add Comment
Please, Sign In to add comment