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

HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsForumForum4.3.2 comments4.3.2 comments
Previous
 
Next
New Post
8/31/2006 7:57 PM
 

To answer my own question, I found the database was not attached to SQL Server Management Studio. I attached the database.mdf file from the APP_DATA directory, was able to find the appropriate stored procedure, modify it in the modify pane and save it as a .sql file.

Next question is how do I either modify in place and resave or import the saved .sql file back.

Regards,

Gary

 
New Post
8/31/2006 8:33 PM
 

Duh...My humble apologies.  Made the change and had to hit the Execute button!  Well at least this may help another newbie wondering how to make the change.  By the way, the above fix works very well on both of my servers (each running SQL Express 2005).

Thanks moderator,

Gary

 
New Post
9/1/2006 12:14 AM
 

I am just now seeing this post. You seemed to have your own turn around time of 3 hours ;)

 


Chris Paterra

Get direct answers to your questions in the Community Exchange.
 
New Post
11/15/2006 3:29 AM
 
i think that best way to repair this issue is to remove that distinct ... it does nothing in that select ( becouse rows are  grouped by the column being selected). Also that renaming of column does nothing .... so, that line should look like:

SELECT  @sql =    'INSERT INTO #PageIndex(ThreadID) SELECT P.ThreadID ' +

originally it was:
SELECT  @sql =    'INSERT INTO #PageIndex(ThreadID) SELECT DISTINCT(P.ThreadID) CreatedDate ' +    

 
New Post
11/16/2006 6:56 PM
 
i looked at it once again and the problem is bigger than it seems (and I'm sorry about previous post) .... I omited that it is beeing grouped also by creation date, which of course changes situation a lot ...  havent got time and will to think over the solution ...
I wanna just notice then ordering it by threadid isn't also solution to the problem, becouse it next section of that stored procedure, where are selected items for one page, ordering among posts is done according to CreatedDate .. and so it leads to situation, where in first step are threads assigned on which page they will be shown according to threadID and then on specific page are ordered according to date of last post.
 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsForumForum4.3.2 comments4.3.2 comments


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