CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviMember (Moderator: Deepak Srivastava) »
  • Internal ID = External identifier
Pages: [1]

Author Topic: Internal ID = External identifier  (Read 1134 times)

mbrown555

  • I’m new here
  • *
  • Posts: 21
  • Karma: 1
  • CiviCRM version: 3.3
  • CMS version: Drupal
  • MySQL version: 5
  • PHP version: not sure
Internal ID = External identifier
January 12, 2011, 04:00:27 pm
I'm sorry if this question has been asked before but I can't find the answer anywhere.
Is there away to make the Internal ID = the External Identifier?
Is this something I will need to do via a mysql command or some other way?

Thanks

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Internal ID = External identifier
January 12, 2011, 08:17:24 pm

the internal id is an auto incremented field managed by mysql, as such i dont think we'd recommend changing the value

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

CiviTeacher.com

  • I live on this forum
  • *****
  • Posts: 1282
  • Karma: 118
    • CiviTeacher
  • CiviCRM version: 3.4 - 4.5
  • CMS version: Drupal 6&7, Wordpress
  • MySQL version: 5.1 - 5.5
  • PHP version: 5.2 - 5.4
Re: Internal ID = External identifier
February 05, 2011, 10:20:07 am
I'm not sure what purpose this action would serve, but you would do this through MySQL by running a direct query on the database.  Always make a backup.

Code: [Select]
update civicrm_contact set external_id = id;

check spelling on those fields and such.
Try CiviTeacher: the online video tutorial CiviCRM learning library.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviMember (Moderator: Deepak Srivastava) »
  • Internal ID = External identifier

This forum was archived on 2017-11-26.