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

HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...SQL and Profile PropertiesSQL and Profile Properties
Previous
 
Next
New Post
5/2/2007 5:42 PM
 

Ah yes, you quite right - I was thinking of the single field XML format, but it is still very hard to query in the name/value format:

1    PropertyValue    nvarchar    3750    1
0    PropertyText    ntext    16    1

 

ie. if you want to get the profile values for a single user it returns n rows, where n is the number of properties, as opposed to a single row, unless there is an easy way to do this (I currently use a view in my ST UserProfile module, but I am worried it will not scale over 50k of users.

 

 


Entrepreneur

PokerDIY Tournament Manager - PokerDIY Tournament Manager<
PokerDIY Game Finder - Mobile Apps powered by DNN
PokerDIY - Connecting Poker Players

 
New Post
5/2/2007 5:52 PM
 

SQL 2005 comes with a new language option "PIVOT", that allows to return a normalized table - unfortunately you need to set database's compatibility level to 90.

If you don't need to pivot in database layer, you can use DNN built in function "BuildCrossTabDataSet", that loads the serialized data into a proper data set.


Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
5/3/2007 1:57 PM
 

I am aware of the Pivot option but will need to support SQL 2000 for some time I think in my m commerical modules (unfortunately!)

The problems I have found is that I need to do all the operations in the SQL layer, not the business layer - I do sorting and paging in SQL for scalability and efficiency, so I do not want to bring back all the data back and then convert it - I need to narrow it down and then bring it back, but I am still trying some ideas.

Thanks for the method - I will check it out anyway - I need to make sure it works with a high volume of users (50k+) and 20-30 profile properties per user.


Entrepreneur

PokerDIY Tournament Manager - PokerDIY Tournament Manager<
PokerDIY Game Finder - Mobile Apps powered by DNN
PokerDIY - Connecting Poker Players

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...SQL and Profile PropertiesSQL and Profile Properties


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