Small width layout Medium width layout Maximum width layout Small text Medium text Large text
     Search
Downloads Downloads Directory Directory Forums Forums Forge Forge Blogs Blogs        Marketplace Marketplace Careers Program Careers
Community › Forums Register  |  

AspDotNetStoreFront
  Ads  
Active Modules -- Active Forums for DotNetNuke
 


  Sponsors  

Meet Our Sponsors

Jango Studios - Skins, Modules and Hosting for DotNetNuke
eUKhost.com is commited to offer exceptional UK Windows Web Hosting solutions with quality 24x7 technical support.Our plans support ASP.Net, ASP, ASP.NET Ajax extensions, XML, MSSQL, MySQL, PHP,DNN, multiple domains and Shared SSL as standard.
SmarterTools
The Official Microsoft ASP.NET Website
Portal Webhosting - Hosting For Developers
Red-Gate Software
 


DotNetNuke Forums
 
  Forum  General DotNetN...  Configure It! (...  Need help with a SQL query
Previous Previous
 
Next Next
New Post 2/22/2006 11:54 AM
User is offline timtimtimtimtim timtimtimtimtim
346 posts
8th Ranked


Need help with a SQL query 

I'm slowly getting better at writing complex SQL queries, promise :)

Could somebody help me out by telling me what the SQL would look like to accomplish this task:  Show all users (and registered email address) who are the portal admin for all portals on a  DNN install. 

Thanks in advance :)

 
New Post 3/1/2006 7:11 AM
User is offline timtimtimtimtim timtimtimtimtim
346 posts
8th Ranked


Re: Need help with a SQL query 

I could still use some help on this if anybody would be so kind :)

Thanks!

 
New Post 3/1/2006 10:56 AM
User is offline Paul Davis
615 posts
www.phdavis.com
7th Ranked


Re: Need help with a SQL query 
Modified By Paul Davis  on 3/1/2006 10:44:54 PM)

Tim, 

      You should ask me I know.  :)

SELECT     Users.Username, Users.Email, PortalAlias.HTTPAlias
FROM         Portals INNER JOIN
                      PortalAlias ON Portals.PortalID = PortalAlias.PortalID INNER JOIN
                      Users ON Portals.AdministratorId = Users.UserID

That will give you the username, e-mail address and portal alias of each of your portal admins.

Cheers,

Champion of the Join and third normal form.  :)


Paul Davis
 
New Post 3/3/2006 4:01 PM
User is offline timtimtimtimtim timtimtimtimtim
346 posts
8th Ranked


Re: Need help with a SQL query 

Got it : )

THX TONS!

 
Previous Previous
 
Next Next
  Forum  General DotNetN...  Configure It! (...  Need help with a SQL query
 


Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, 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 DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

 


SINA101
WANT A SPECial sIte iN TAIWAN?
sina101.com
Web Development and Strategy Firm
The Risdall Interactive Agency s websites, strategies, branding, & promotion in digital space.
www.Risdall.net/
Windsor Management Group
Fund Accounting Software for K12 Education.
Infinitevisions.com

DotNetNuke Corporation   Terms Of Use  Privacy Statement
DotNetNuke®, DNN®, and the DotNetNuke logo are trademarks of DotNetNuke Corporation
Hosted by MaximumASP