Answers.Body: <p>The only option i feel is running a query that will switch the primary address from work to home for a set of contacts in a group. </p>
  
  <ol>
  <li>Add imported address contact in a group X.</li>
  <li>Update is_primary to NULL for all address for contacts in a group X.</li>
  <li>Update is_primary to TRUE for home address for contacts in a group X.</li>
  </ol>
  
  <p>HTH</p>
  
  <p>Pradeep</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-08-14T23:21:32.457Z
Answers.LastActivityDate: 2018-08-15T18:45:12.840Z
Answers.LastEditDate: 2018-08-15T18:45:12.840Z
Answers.UserDisplayName: Pradeep Nayak
Body: <p>I made the mistake of importing work addresses before home addresses. 
  How can I update home addresses to all be primary?</p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2018-08-16T19:57:09.263Z
Comments.Text: Are you using Drupal with CiviCRM?
Comments.UserDisplayName: jackrabbithanna
Tags: <addresses>
Title: Batch update Primary Address
ThreadText: # Batch update Primary Address
  
  (Asked by: username_0 on 2018-08-14)
  
  I made the mistake of importing work addresses before home addresses.
  How can I update home addresses to all be primary?
  
  **Tags:** addresses
  
  > **Comments:**
  > **username_1**: Are you using Drupal with CiviCRM?  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_2 on 2018-08-14. Score: 0
  
  The only option i feel is running a query that will switch the primary address from work to home for a set of contacts in a group.
  
  1. Add imported address contact in a group X.
  2. Update is\_primary to NULL for all address for contacts in a group X.
  3. Update is\_primary to TRUE for home address for contacts in a group X.
  
  HTH
  
  username_2
  
  
  ---
  
  