Skip to Content Skip to Menu

SQL query won't return email field

  • nettop
  • nettop
  • OFFLINE
  • Posts: 51
  • Thanks: 3
  • Karma: 0
12 years 5 months ago #199603 by nettop
SQL query won't return email field was created by nettop
I have tried several variations of the primary email field to get a SQL query to return the Community Builder email field. I'm using PHPMyAdmin to run queries and the "email" field doesn't even show up in the list of fields. This means that I can't get it to show up on a downloaded list, using SQL2Excel for my users. Any suggestions, other than re-creating the email field? I've got a lot of users and reports, etc. so re-creating the field would be a pain. Thanks, Tim

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48444
  • Thanks: 8277
  • Karma: 1443
12 years 5 months ago #199634 by krileon
Replied by krileon on topic Re: SQL query won't return email field
Email is in the _users table. It is not in the _comprofiler table. Simply browse the table in phpmyadmin and you can see what columns are available in either of the two tables.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in or Create an account to join the conversation.

  • nettop
  • nettop
  • OFFLINE
  • Posts: 51
  • Thanks: 3
  • Karma: 0
12 years 5 months ago #199981 by nettop
Replied by nettop on topic Re: SQL query won't return email field
Excellent answer...I'm sure I can join data from the two tables in the reports via the query...thanks so much, Tim

Please Log in or Create an account to join the conversation.

  • nant
  • nant
  • ONLINE
  • Posts: 12339
  • Thanks: 1467
  • Karma: 877
12 years 5 months ago #200003 by nant
Replied by nant on topic Re: SQL query won't return email field

nettop wrote: Excellent answer...I'm sure I can join data from the two tables in the reports via the query...thanks so much, Tim


FYI - CB API document (see Free download area) contains CB db schema.

Please Log in or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum