You are here:   Home > Blog
Register   |  Login

Blog Search

Minimize

Captured Technology - Blog

Minimize

Removing Groups of Posts from the DNN Blog Module

May 9

Written by:
5/9/2009 1:44 PM  RssIcon

The first table is the Blog_Entries table and the second is the Blog_Comments table.

Select Top 150 * From blog_Entries
Where BlogID = 25
Order By AddedDate

The SQL Server code above will display 150 entries from the blog module you determine to be the module on your site. If you only have one site and one blog module than all the entries will have the same BlogId. Look through the records from the script above and record the EntryIDs for all entries you want to remove from your site.

Delete From blog_comments
Where EntryID In (1,2,5,...) 

Now delete the comments associated with the entries you wish to delete by running the SQL code above. SQL can be run within a DNN portal through a screen available under the Host menu.

DELETE From blog_Entries
Where BlogID = 25
And EntryID In (1,2,5,...)  

The final step is to delete the entries themselves as you can see above. I pinged my site (one other than CapturedTech.com) after performing these operations in hopes that Google would recognize the changes and adjust my Page Rank accordingly.

Tags:
Categories:

Your name:
Gravatar Preview
Your email:
(Optional) Email used only to show Gravatar.
Your website:
Title:
Comment:
Security Code
CAPTCHA image
Enter the code shown above in the box below
Add Comment   Cancel 

Blog Admin

Minimize
You must be logged in and have permission to create or edit a blog.

Translate

Minimize

Sponsors

Minimize

Recent Comments

Minimize
Re: Microsoft Test Bounties
I had spent a good deal of my time looking for someone to explain this subject clearly and I have really enjoyed reading your blog posts and I collected a lot of interesting things as well as I done a research on the subject and learn most peoples will agree with your blog.
Re: 10 Ways to Source Great Sales Leads
Hoovers.com, that have contact information for tens of millions of businesses. If necessary, you can work with these companies' research teams to order lists specifically tailored to your organization's sales needs.
Re: Microsoft Test Bounties
To find bugs and showing it to microsoft is quite admirable. Keep blogging more i will appreciate.
Re: Microsoft Test Bounties
Testing a software and giving out the errors to microsoft is amazing. Very good thing to do. One can do this in free time.
Re: Reindexing SQL Server Tables
Discussed about the SQL server and more interesting matter discussed in the post because in the post define about the SQL server table so that can be know that and able to understand regarding post.

u comment, i follow