Print Page | Close Window

stored procedure and orphan files

Printed From: Web Wiz Forums
Category: Web Wiz Web App Support Forums
Forum Name: Web Wiz Forums
Forum Description: Support forum for Web Wiz Forums application.
URL: https://forums.webwiz.net/forum_posts.asp?TID=6485
Printed Date: 03 April 2026 at 4:33pm
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: stored procedure and orphan files
Posted By: dibbes
Subject: stored procedure and orphan files
Date Posted: 16 October 2003 at 3:25pm

I have two problems

First, the stored procedure 'wwfSpDBinfo' will not be made on the server.
I tryed several times but...is this a known problem?

Second, When somebody post a message with a file and the message is deleted, the file will stay on the server. Is there a way to delete the orphan files automaticly or do I have to think hard and script this myself?

Thanx for making such a good bulletin board!




Replies:
Posted By: Tabbs
Date Posted: 17 October 2003 at 2:07am

I have found the same problem.

Are you using SQL7?

The reason I say this is because "ServerProperty" which is included in the stored procedure is new in SQL2000, even though some of the documentation I have seen says it is in SQL7.

I don't know if you can simply remove this from the DBInfo stored procedure for SQL7 compatability. Does anybody else know this?

Cheers

Tabbs



Posted By: WebWiz-Bruce
Date Posted: 17 October 2003 at 2:23am
This stored procedure is crucial to the running of the board so don't worry about it. You will just loose the SQL server statistics bit found in the admin area, but this is just there as a gimic type thing anyway so isn't actual needed for anything.

Files aren't connected to posts so won't be deleted when posts are deleted.


-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting


Posted By: dibbes
Date Posted: 17 October 2003 at 6:43am
Is a pitty, because it can take gigs off data after some time...and you don't know what to delete , if its in use or not..


Posted By: WebWiz-Bruce
Date Posted: 17 October 2003 at 7:36am
This is why in version 7.5 files and images are stored in folders using the members name this should help a little in tracking whos uploaded what.

-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net