Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - Upgrading 7.0 -> 7.5 Question
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Upgrading 7.0 -> 7.5 Question

 Post Reply Post Reply
Author
wfusco View Drop Down
Groupie
Groupie


Joined: 12 September 2003
Location: United States
Status: Offline
Points: 44
Post Options Post Options   Thanks (0) Thanks(0)   Quote wfusco Quote  Post ReplyReply Direct Link To This Post Topic: Upgrading 7.0 -> 7.5 Question
    Posted: 24 September 2003 at 9:51am

Greetings Everyone!

I just downloaded Forums 7.5 Beta 1 SQL Version. I am currently running 7.0 SQL Version. What proceedure would i use to upgrade the existing version without loosing any of the current database data and add the additional functionality and new features of the new forums..

Wayne


Edited by wfusco
Back to Top
robplatt View Drop Down
Newbie
Newbie


Joined: 18 September 2003
Status: Offline
Points: 17
Post Options Post Options   Thanks (0) Thanks(0)   Quote robplatt Quote  Post ReplyReply Direct Link To This Post Posted: 24 September 2003 at 3:39pm

Just override the old files with the new files. (Take note on the mods youve done and the styles you've set)

To view your posts you will need to modify one of the stored procedures on MSSQL.

change your "wwfSpLastAndFirstThreadAuthor" to this one below

CREATE PROCEDURE [dbo].[wwfSpLastAndFirstThreadAuthor] ( @lngTopicID int )  AS SELECT tblThread.Thread_ID, tblThread.Author_ID, tblThread.Message, tblThread.Message_date, tblAuthor.Username FROM tblAuthor INNER JOIN tblThread ON tblAuthor.Author_ID = tblThread.Author_ID WHERE tblThread.Topic_ID = @lngTopicID ORDER BY tblThread.Message_date ASC;
GO

 

and if you want the SQL stats from the admin area, add the stored procedure below.

 

CREATE PROCEDURE [dbo].[wwfSpDBinfo]
  As
  Declare @low int
  Declare @dbsize dec(10,2)
  Declare @dbpath nvarchar(100)
  Declare @logpath nvarchar(100)
  Declare @dbfilesize dec(10,2)
  Declare @logfilesize dec(10,2)
  Declare @maxdbfilesize dec(10,2)
  Declare @maxlogfilesize dec(10,2)
  
  --Minimum Database Size
  select @low = low from master.dbo.spt_values
     where type = N'E' and number = 1
  --Calculation of current Database Size in MB
  select @dbsize = (convert(dec(15),sum(size)) *  @low  / 1048576)
  from [sysfiles]
  --Actual File Size of Log and Data File
  Select TOP 1 @dbpath = [filename] from [sysfiles] where groupid = 1
  Select TOP 1 @logpath = [filename] from [sysfiles] where groupid = 0
  Select @dbfilesize =  convert(dec(10,2),sum([size]))/128 from [sysfiles] where [filename] = @dbpath     --in MB
  Select @logfilesize = convert(dec(10,2),sum([size]))/128 from [sysfiles] where [filename] = @logpath   --in MB
  Select TOP 1 @maxdbfilesize = convert(dec(10,2),[maxsize])/128 from [sysfiles] where [filename] = @dbpath
  Select TOP 1 @maxlogfilesize = convert(dec(10,2),[maxsize])/128 from [sysfiles] where [filename] = @logpath
  If @maxdbfilesize = (-.01) Set @maxdbfilesize = -1
  If @maxlogfilesize = (-.01) Set @maxlogfilesize = -1
  
  ---Creating Output Table
  select  @dbsize Databasesize, @dbpath DataLocation , @logpath LogLocation,
   @dbfilesize DatabaseFileSize, @logfilesize Logfilesize,
   @maxdbfilesize MaxDBSize, @maxlogfilesize MazLogSize,
   ServerProperty('edition') Edition,
   CASE ServerProperty('IsCluster')
    WHEN 0 THEN 'No Cluster'
    WHEN 1 THEN 'Cluster'
     ELSE  'No Cluster/Unknown'
   END Cluster,
   CASE ServerProperty('License_Type')
    WHEN 'PER_SEAT' THEN 'Seat Licensing (' + Convert(nvarchar(5),ServerProperty('NumLicenses')) + ')'
    WHEN 'Per_Processor' THEN 'Processor Licensing (' + Convert(nvarchar(5),ServerProperty('NumLicenses')) + ')'
    ELSE 'Licensing Disabled / Unknown'
   END Licensing,
   ServerProperty('ProductLevel') PLevel

GO

 

Thats all I've had to do so far, other than tweak the code here and there to fit my site. I'm a newbie and am just getting the hang of this forum. I've had it running for about 2 days now.

Back to Top
wfusco View Drop Down
Groupie
Groupie


Joined: 12 September 2003
Location: United States
Status: Offline
Points: 44
Post Options Post Options   Thanks (0) Thanks(0)   Quote wfusco Quote  Post ReplyReply Direct Link To This Post Posted: 24 September 2003 at 4:41pm

OH MY GOD!

I am a SQL newbee and if I thought I was dumb when it came to SQL I am really lost now..

Damn where to begin!!!

If you would be so kind as you have been so far, Would you put this in simple terms for me?

Wayne

Back to Top
robplatt View Drop Down
Newbie
Newbie


Joined: 18 September 2003
Status: Offline
Points: 17
Post Options Post Options   Thanks (0) Thanks(0)   Quote robplatt Quote  Post ReplyReply Direct Link To This Post Posted: 24 September 2003 at 4:55pm

Do you have access to SQL Server Enterprise Manager?

 

If you had to look at the raw data, how would you go about it?

Back to Top
wfusco View Drop Down
Groupie
Groupie


Joined: 12 September 2003
Location: United States
Status: Offline
Points: 44
Post Options Post Options   Thanks (0) Thanks(0)   Quote wfusco Quote  Post ReplyReply Direct Link To This Post Posted: 24 September 2003 at 5:32pm

Hello,

Yes I have access to everything. The Web, SQL & ISA servers are all installed right here on my network. As for looking at the raw data, I would use the Enterprise Manager and query the database.



Edited by wfusco
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.