Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeDevelopment and...Development and...SQL and SQL Ser...SQL and SQL Ser...SQL to update a user profile itemSQL to update a user profile item
Previous
 
Next
New Post
6/25/2010 7:22 AM
 
Is it possible to write a sql statement that would update user profile information like city, state and etc...?
 
New Post
6/25/2010 10:40 AM
 
yes, but it is not as trivial as record updates in other tables.

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
6/25/2010 8:58 PM
 
Thanks for the response.
Do you know of a place where one might go to see some examples or learn more details about the process?  I have done a google, yahoo and Bing but get very little information about the process required.  (I did read some of your comments over on dnncreative also.)

Thanks again.
 
New Post
6/26/2010 4:22 AM
 
Hello Chris,

If you study the users and users profile tables, you will see pretty easily how the data is structured by DNN.  Basically, the users tables stored the basic details such as username, firstname and surname, IOW the fields that everyone has.

The user Profile table, can store any properties that you care to store, eg phone, modile, favourite hair colour, brand of motorcycle.  The beautiful thing about the user profile is that you can expand or contract what we store about a person, based on your individual preferences.

If you take a look at the table named ProfilePropertyDefinition you will see that it defines a list of potential properties that you might store.  You are free to add additional Properties into this list, eg "favourite Female Irish vocalist".  Once that ProfilePropertyDefinition has been created, you can then add it into the list of properties stored in the UserProfile

Have a play with the following tables and it will be clear as mud :)

SELECT * FROM users
SELECT * FROM dbo.UserProfile
SELECT * FROM dbo.ProfilePropertyDefinition


Look at both the data and the columns in the table, and then try doing a few queries where you select you profile.  You will quickly see how you can build your definition.

HTH







Mark Breen Ireland 1987 BMW R80 g/s
 
New Post
6/26/2010 9:05 AM
 
Thank you Mark.  This is eactly what I was looking for and much easier than I imagined (once you identified the tables for me).
 
Previous
 
Next
HomeHomeDevelopment and...Development and...SQL and SQL Ser...SQL and SQL Ser...SQL to update a user profile itemSQL to update a user profile item


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out