<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="https://syndication.webwiz.net/rss_namespace/">
 <channel>
  <title>Web Wiz Support and Community Forums : SQL Server &#083;cript Issues...</title>
  <link>https://forums.webwiz.net/</link>
  <description><![CDATA[This is an XML content feed of; Web Wiz Support and Community Forums : Web Wiz Forums : SQL Server &#083;cript Issues...]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Mon, 06 Apr 2026 11:58:59 +0000</pubDate>
  <lastBuildDate>Mon, 24 Nov 2003 17:41:30 +0000</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 12.08</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>https://forums.webwiz.net/RSS_post_feed.asp?TID=7554</WebWizForums:feedURL>
  <image>
   <title><![CDATA[Web Wiz Support and Community Forums]]></title>
   <url>https://forums.webwiz.net/forum_images/web_wiz_forums.png</url>
   <link>https://forums.webwiz.net/</link>
  </image>
  <item>
   <title><![CDATA[SQL Server &#083;cript Issues... : Worked fine, of course. Now we...]]></title>
   <link>https://forums.webwiz.net/sql-server-script-issues_topic7554_post37871.html#37871</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forums.webwiz.net/member_profile.asp?PF=13743">Spartanx15</a><br /><strong>Subject:</strong> 7554<br /><strong>Posted:</strong> 24&nbsp;November&nbsp;2003 at 5:41pm<br /><br /><P>Worked fine, of course. Now we shall see if it affects/effects the Forum at all.</P><P>Many thanks. I hope the ASP script gets changed for other SQL 7.0 users.</P>]]>
   </description>
   <pubDate>Mon, 24 Nov 2003 17:41:30 +0000</pubDate>
   <guid isPermaLink="true">https://forums.webwiz.net/sql-server-script-issues_topic7554_post37871.html#37871</guid>
  </item> 
  <item>
   <title><![CDATA[SQL Server &#083;cript Issues... :  Everythng is fine, EXCEPT for...]]></title>
   <link>https://forums.webwiz.net/sql-server-script-issues_topic7554_post37870.html#37870</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forums.webwiz.net/member_profile.asp?PF=13756">thekiwi</a><br /><strong>Subject:</strong> 7554<br /><strong>Posted:</strong> 24&nbsp;November&nbsp;2003 at 5:37pm<br /><br /><BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px"><P><strong><EM>Everythng is fine, EXCEPT for this one sproc. And now the question comes up as to how important this sproc is to proper operation of the Forum v 7.6 ?</EM></strong></P></BLOCKQUOTE><P dir=ltr>Im guessing here, but I'd imagine that it is only at :</P><P dir=ltr>forum/admin/sql_server_db_stats.asp ...</P>]]>
   </description>
   <pubDate>Mon, 24 Nov 2003 17:37:58 +0000</pubDate>
   <guid isPermaLink="true">https://forums.webwiz.net/sql-server-script-issues_topic7554_post37870.html#37870</guid>
  </item> 
  <item>
   <title><![CDATA[SQL Server &#083;cript Issues... : Try this in Query Analyser  CREATE...]]></title>
   <link>https://forums.webwiz.net/sql-server-script-issues_topic7554_post37869.html#37869</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forums.webwiz.net/member_profile.asp?PF=13756">thekiwi</a><br /><strong>Subject:</strong> 7554<br /><strong>Posted:</strong> 24&nbsp;November&nbsp;2003 at 5:34pm<br /><br /><P>Try this in Query Analyser</P><P>&nbsp;</P><P>CREATE PROCEDURE &#091;dbo&#093;.&#091;wwfSpDBinfo&#093; As <BR>Declare @low int<BR>Declare @dbsize dec(10,2)<BR>Declare @dbpath nvarchar(100)<BR>Declare @logpath nvarchar(100)<BR>Declare @dbfilesize dec(10,2)<BR>Declare @logfilesize dec(10,2)<BR>Declare @maxdbfilesize dec(10,2)<BR>Declare @maxlogfilesize dec(10,2)<BR>&nbsp;<BR>--Minimum Database Size<BR>select @low = low from master.dbo.spt_values<BR>&nbsp;&nbsp;&nbsp;where type = N'E' and number = 1<BR>--Calculation of current Database Size in MB<BR>select @dbsize = (convert(dec(15),sum(size)) *&nbsp; @low&nbsp; / 1048576)<BR>from &#091;sysfiles&#093;<BR>--Actual File Size of Log and Data File<BR>Select TOP 1 @dbpath = &#091;filename&#093; from &#091;sysfiles&#093; where groupid = 1<BR>Select TOP 1 @logpath = &#091;filename&#093; from &#091;sysfiles&#093; where groupid = 0<BR>Select @dbfilesize =&nbsp; convert(dec(10,2),sum(&#091;size&#093;))/128 from &#091;sysfiles&#093; where &#091;filename&#093; = @dbpath&nbsp;&nbsp;&nbsp;&nbsp; --in MB<BR>Select @logfilesize = convert(dec(10,2),sum(&#091;size&#093;))/128 from &#091;sysfiles&#093; where &#091;filename&#093; = @logpath&nbsp;&nbsp; --in MB<BR>Select TOP 1 @maxdbfilesize = convert(dec(10,2),&#091;maxsize&#093;)/128 from &#091;sysfiles&#093; where &#091;filename&#093; = @dbpath<BR>Select TOP 1 @maxlogfilesize = convert(dec(10,2),&#091;maxsize&#093;)/128 from &#091;sysfiles&#093; where &#091;filename&#093; = @logpath<BR>If @maxdbfilesize = (-.01) Set @maxdbfilesize = -1<BR>If @maxlogfilesize = (-.01) Set @maxlogfilesize = -1<BR>&nbsp;<BR>---Creating Output Table<BR>select &nbsp;@dbsize Databasesize, @dbpath DataLocation , @logpath LogLocation, <BR>&nbsp;@dbfilesize DatabaseFileSize, @logfilesize Logfilesize,<BR>&nbsp;@maxdbfilesize MaxDBSize, @maxlogfilesize MazLogSize, "" Edition, "" Cluster, "" Licensing, "" PLevel<BR>&nbsp;--ServerProperty('edition') Edition2<BR>&nbsp;--CASE ServerProperty('IsCluster') <BR>&nbsp; --WHEN 0 THEN 'No Cluster'<BR>&nbsp; --WHEN 1 THEN 'Cluster'<BR>&nbsp;&nbsp; --ELSE&nbsp; 'No Cluster/Unknown' <BR>&nbsp;--END Cluster,<BR>&nbsp;--CASE ServerProperty('License_Type')<BR>&nbsp; --WHEN 'PER_SEAT' THEN 'Seat Licensing (' + Convert(nvarchar(5),ServerProperty('NumLicenses')) + ')'<BR>&nbsp; --WHEN 'Per_Processor' THEN 'Processor Licensing (' + Convert(nvarchar(5),ServerProperty('NumLicenses')) + ')'<BR>&nbsp; --ELSE 'Licensing Disabled / Unknown'<BR>&nbsp;--END Licensing,<BR>&nbsp;--ServerProperty('ProductLevel') PLevel<BR>GO<BR></P>]]>
   </description>
   <pubDate>Mon, 24 Nov 2003 17:34:19 +0000</pubDate>
   <guid isPermaLink="true">https://forums.webwiz.net/sql-server-script-issues_topic7554_post37869.html#37869</guid>
  </item> 
  <item>
   <title><![CDATA[SQL Server &#083;cript Issues... : Everythng is fine, EXCEPT for...]]></title>
   <link>https://forums.webwiz.net/sql-server-script-issues_topic7554_post37868.html#37868</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forums.webwiz.net/member_profile.asp?PF=13743">Spartanx15</a><br /><strong>Subject:</strong> 7554<br /><strong>Posted:</strong> 24&nbsp;November&nbsp;2003 at 5:33pm<br /><br /><P>Everythng is fine, EXCEPT for this one sproc. And now the question comes up as to how important this sproc is to proper operation of the Forum v 7.6 ?</P><P>Apology accepeted :) I have been working MS-SQL since 1994 and wrote much of the replication system. Thus I tend to become a bulldog on these things. My apologies also to yourself.</P><P>I just will not modify others code as I do not have a crystal ball into their thinking of the time ( well unless its my own SQL team where I can't get out of their heads, alas ). Thus I always wait for the thoughts of the script author before making my own changes, which more often than not just mess things up further.</P><P>Regards,</P><P>&nbsp;</P><P>Jon Spartan ( yeah I KNOW about the movie and get commenst about it all the time - LOL )</P><P>&nbsp;</P>]]>
   </description>
   <pubDate>Mon, 24 Nov 2003 17:33:33 +0000</pubDate>
   <guid isPermaLink="true">https://forums.webwiz.net/sql-server-script-issues_topic7554_post37868.html#37868</guid>
  </item> 
  <item>
   <title><![CDATA[SQL Server &#083;cript Issues... : Yup ... my apologies ... there...]]></title>
   <link>https://forums.webwiz.net/sql-server-script-issues_topic7554_post37867.html#37867</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forums.webwiz.net/member_profile.asp?PF=13756">thekiwi</a><br /><strong>Subject:</strong> 7554<br /><strong>Posted:</strong> 24&nbsp;November&nbsp;2003 at 5:26pm<br /><br /><P>Yup ... my apologies ... there does appear to be a "ServerProperty" call in the setup script of the stored procedure wwfSPDBinfo. This would suggest it would never work under SQL7, contrary to the Requirements on this site?</P><P>Looking at the script Id say it should carry on and correctly setup the remainder of your database ....</P>]]>
   </description>
   <pubDate>Mon, 24 Nov 2003 17:26:04 +0000</pubDate>
   <guid isPermaLink="true">https://forums.webwiz.net/sql-server-script-issues_topic7554_post37867.html#37867</guid>
  </item> 
  <item>
   <title><![CDATA[SQL Server &#083;cript Issues... : The code from the ASP script follows...]]></title>
   <link>https://forums.webwiz.net/sql-server-script-issues_topic7554_post37866.html#37866</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forums.webwiz.net/member_profile.asp?PF=13743">Spartanx15</a><br /><strong>Subject:</strong> 7554<br /><strong>Posted:</strong> 24&nbsp;November&nbsp;2003 at 5:25pm<br /><br /><P>The code from the ASP script follows - once again the "ServerProerty" statement is used which is not support by 7.0 - SO - how do we correct this pray tell ???</P><P>&nbsp;</P><P>Script portion is -</P><P>&nbsp;</P><P>&nbsp;&nbsp;strSQL = "CREATE PROCEDURE &#091;dbo&#093;.&#091;" &amp; strDbProc &amp; "DBinfo&#093; "<BR>&nbsp;&nbsp;strSQL = strSQL &amp; "As "<BR>&nbsp;&nbsp;strSQL = strSQL &amp; vbCrLf &amp; "Declare @low int"<BR>&nbsp;&nbsp;strSQL = strSQL &amp; vbCrLf &amp; "Declare @dbsize dec(10,2)"<BR>&nbsp;&nbsp;strSQL = strSQL &amp; vbCrLf &amp; "Declare @dbpath nvarchar(100)"<BR>&nbsp;&nbsp;strSQL = strSQL &amp; vbCrLf &amp; "Declare @logpath nvarchar(100)"<BR>&nbsp;&nbsp;strSQL = strSQL &amp; vbCrLf &amp; "Declare @dbfilesize dec(10,2)"<BR>&nbsp;&nbsp;strSQL = strSQL &amp; vbCrLf &amp; "Declare @logfilesize dec(10,2)"<BR>&nbsp;&nbsp;strSQL = strSQL &amp; vbCrLf &amp; "Declare @maxdbfilesize dec(10,2)"<BR>&nbsp;&nbsp;strSQL = strSQL &amp; vbCrLf &amp; "Declare @maxlogfilesize dec(10,2)"<BR>&nbsp;&nbsp;strSQL = strSQL &amp; vbCrLf &amp; " "<BR>&nbsp;&nbsp;strSQL = strSQL &amp; vbCrLf &amp; "--Minimum Database Size"<BR>&nbsp;&nbsp;strSQL = strSQL &amp; vbCrLf &amp; "select @low = low from master.dbo.spt_values"<BR>&nbsp;&nbsp;strSQL = strSQL &amp; vbCrLf &amp; "&nbsp;&nbsp;&nbsp;where type = N'E' and number = 1"<BR>&nbsp;&nbsp;strSQL = strSQL &amp; vbCrLf &amp; "--Calculation of current Database Size in MB"<BR>&nbsp;&nbsp;strSQL = strSQL &amp; vbCrLf &amp; "select @dbsize = (convert(dec(15),sum(size)) *&nbsp; @low&nbsp; / 1048576)"<BR>&nbsp;&nbsp;strSQL = strSQL &amp; vbCrLf &amp; "from &#091;sysfiles&#093;"<BR>&nbsp;&nbsp;strSQL = strSQL &amp; vbCrLf &amp; "--Actual File Size of Log and Data File"<BR>&nbsp;&nbsp;strSQL = strSQL &amp; vbCrLf &amp; "Select TOP 1 @dbpath = &#091;filename&#093; from &#091;sysfiles&#093; where groupid = 1"<BR>&nbsp;&nbsp;strSQL = strSQL &amp; vbCrLf &amp; "Select TOP 1 @logpath = &#091;filename&#093; from &#091;sysfiles&#093; where groupid = 0"<BR>&nbsp;&nbsp;strSQL = strSQL &amp; vbCrLf &amp; "Select @dbfilesize =&nbsp; convert(dec(10,2),sum(&#091;size&#093;))/128 from &#091;sysfiles&#093; where &#091;filename&#093; = @dbpath&nbsp;&nbsp;&nbsp;&nbsp; --in MB"<BR>&nbsp;&nbsp;strSQL = strSQL &amp; vbCrLf &amp; "Select @logfilesize = convert(dec(10,2),sum(&#091;size&#093;))/128 from &#091;sysfiles&#093; where &#091;filename&#093; = @logpath&nbsp;&nbsp; --in MB"<BR>&nbsp;&nbsp;strSQL = strSQL &amp; vbCrLf &amp; "Select TOP 1 @maxdbfilesize = convert(dec(10,2),&#091;maxsize&#093;)/128 from &#091;sysfiles&#093; where &#091;filename&#093; = @dbpath"<BR>&nbsp;&nbsp;strSQL = strSQL &amp; vbCrLf &amp; "Select TOP 1 @maxlogfilesize = convert(dec(10,2),&#091;maxsize&#093;)/128 from &#091;sysfiles&#093; where &#091;filename&#093; = @logpath"<BR>&nbsp;&nbsp;strSQL = strSQL &amp; vbCrLf &amp; "If @maxdbfilesize = (-.01) Set @maxdbfilesize = -1"<BR>&nbsp;&nbsp;strSQL = strSQL &amp; vbCrLf &amp; "If @maxlogfilesize = (-.01) Set @maxlogfilesize = -1"<BR>&nbsp;&nbsp;strSQL = strSQL &amp; vbCrLf &amp; " "<BR>&nbsp;&nbsp;strSQL = strSQL &amp; vbCrLf &amp; "---Creating Output Table"<BR>&nbsp;&nbsp;strSQL = strSQL &amp; vbCrLf &amp; "select &nbsp;@dbsize Databasesize, @dbpath DataLocation , @logpath LogLocation, "<BR>&nbsp;&nbsp;strSQL = strSQL &amp; vbCrLf &amp; "&nbsp;@dbfilesize DatabaseFileSize, @logfilesize Logfilesize,"<BR>&nbsp;&nbsp;strSQL = strSQL &amp; vbCrLf &amp; "&nbsp;@maxdbfilesize MaxDBSize, @maxlogfilesize MazLogSize,"<BR>&nbsp;&nbsp;strSQL = strSQL &amp; vbCrLf &amp; "&nbsp;ServerProperty('edition') Edition, "<BR>&nbsp;&nbsp;strSQL = strSQL &amp; vbCrLf &amp; "&nbsp;CASE ServerProperty('IsCluster') "<BR>&nbsp;&nbsp;strSQL = strSQL &amp; vbCrLf &amp; "&nbsp; WHEN 0 THEN 'No Cluster'"<BR>&nbsp;&nbsp;strSQL = strSQL &amp; vbCrLf &amp; "&nbsp; WHEN 1 THEN 'Cluster'"<BR>&nbsp;&nbsp;strSQL = strSQL &amp; vbCrLf &amp; " &nbsp; ELSE&nbsp; 'No Cluster/Unknown' "<BR>&nbsp;&nbsp;strSQL = strSQL &amp; vbCrLf &amp; "&nbsp;END Cluster,"<BR>&nbsp;&nbsp;strSQL = strSQL &amp; vbCrLf &amp; "&nbsp;CASE ServerProperty('License_Type')"<BR>&nbsp;&nbsp;strSQL = strSQL &amp; vbCrLf &amp; "&nbsp; WHEN 'PER_SEAT' THEN 'Seat Licensing (' + Convert(nvarchar(5),ServerProperty('NumLicenses')) + ')'"<BR>&nbsp;&nbsp;strSQL = strSQL &amp; vbCrLf &amp; "&nbsp; WHEN 'Per_Processor' THEN 'Processor Licensing (' + Convert(nvarchar(5),ServerProperty('NumLicenses')) + ')'"<BR>&nbsp;&nbsp;strSQL = strSQL &amp; vbCrLf &amp; "&nbsp; ELSE 'Licensing Disabled / Unknown'"<BR>&nbsp;&nbsp;strSQL = strSQL &amp; vbCrLf &amp; "&nbsp;END Licensing,"<BR>&nbsp;&nbsp;strSQL = strSQL &amp; vbCrLf &amp; "&nbsp;ServerProperty('ProductLevel') PLevel"</P>]]>
   </description>
   <pubDate>Mon, 24 Nov 2003 17:25:31 +0000</pubDate>
   <guid isPermaLink="true">https://forums.webwiz.net/sql-server-script-issues_topic7554_post37866.html#37866</guid>
  </item> 
  <item>
   <title><![CDATA[SQL Server &#083;cript Issues... : I also just checked the stored...]]></title>
   <link>https://forums.webwiz.net/sql-server-script-issues_topic7554_post37864.html#37864</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forums.webwiz.net/member_profile.asp?PF=13743">Spartanx15</a><br /><strong>Subject:</strong> 7554<br /><strong>Posted:</strong> 24&nbsp;November&nbsp;2003 at 5:20pm<br /><br />I also just checked the stored procedures list under the DB and wwfSpDBinfo DOES NOT exist.]]>
   </description>
   <pubDate>Mon, 24 Nov 2003 17:20:54 +0000</pubDate>
   <guid isPermaLink="true">https://forums.webwiz.net/sql-server-script-issues_topic7554_post37864.html#37864</guid>
  </item> 
  <item>
   <title><![CDATA[SQL Server &#083;cript Issues... : Here is what I got back when I...]]></title>
   <link>https://forums.webwiz.net/sql-server-script-issues_topic7554_post37860.html#37860</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forums.webwiz.net/member_profile.asp?PF=13743">Spartanx15</a><br /><strong>Subject:</strong> 7554<br /><strong>Posted:</strong> 24&nbsp;November&nbsp;2003 at 5:11pm<br /><br /><P>Here is what I got back when I just re-ran the ASP Script - msSQL_server_setup.asp </P><P><FONT size=2>"Error C</FONT><FONT size=2>reating the Stored Procedure wwfSpDBinfo (it may already exsist)<BR><BR><B>SQL Server database is set up, but with Error!</B> "</FONT></P><P><FONT size=2></FONT>&nbsp;</P><P><FONT size=2>This error was shown directly under the SQL Sever Usernamae and password "box"</FONT></P>]]>
   </description>
   <pubDate>Mon, 24 Nov 2003 17:11:18 +0000</pubDate>
   <guid isPermaLink="true">https://forums.webwiz.net/sql-server-script-issues_topic7554_post37860.html#37860</guid>
  </item> 
  <item>
   <title><![CDATA[SQL Server &#083;cript Issues... :  I have tried the online SQL...]]></title>
   <link>https://forums.webwiz.net/sql-server-script-issues_topic7554_post37858.html#37858</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forums.webwiz.net/member_profile.asp?PF=13756">thekiwi</a><br /><strong>Subject:</strong> 7554<br /><strong>Posted:</strong> 24&nbsp;November&nbsp;2003 at 5:04pm<br /><br /><BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px"><P><strong><EM>I have tried the online SQL DB creation system and got a message about "errors". I am using an SQL 7.0 SPK4 DB. I have deleted the DB and tried to create it using ISQL I got an error on the COLLATE statement. I modifed the .sql file and started over again. Noe I am getting another error on the "ServerProperty" section, which SQL 7.0 does not support ( see seperate post of this date on this problem ).</EM></strong></P></BLOCKQUOTE><P dir=ltr>What "Errors" did you get running msSQL_server_setup.asp ?</P><P dir=ltr>In the ASP file there are no Collate statements or ServerProperty calls ... so it should work OK.</P><P dir=ltr>What line number etc?</P>]]>
   </description>
   <pubDate>Mon, 24 Nov 2003 17:04:55 +0000</pubDate>
   <guid isPermaLink="true">https://forums.webwiz.net/sql-server-script-issues_topic7554_post37858.html#37858</guid>
  </item> 
  <item>
   <title><![CDATA[SQL Server &#083;cript Issues... : I have tried the online SQL DB...]]></title>
   <link>https://forums.webwiz.net/sql-server-script-issues_topic7554_post37855.html#37855</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forums.webwiz.net/member_profile.asp?PF=13743">Spartanx15</a><br /><strong>Subject:</strong> 7554<br /><strong>Posted:</strong> 24&nbsp;November&nbsp;2003 at 4:57pm<br /><br /><P>I have tried the online SQL DB creation system and got a message about "errors". I am using an SQL 7.0 SPK4 DB. I have deleted the DB and tried to create it using ISQL I got an error on the COLLATE statement. I modifed the .sql file and started over again. Noe I am getting another error on the "ServerProperty" section, which SQL 7.0 does not support ( see seperate post of this date on this problem ).</P><P>So..... what is one to do. If the .sql file does not create the seeds and the online ASP system sends an obtuse message on "errors" but does not describe them...what should I do ?</P><P>BTW I do love the forum, which is why I supported it. Only my 6 version is working fine and with the SQL errors I found in 7.0, 7.1 and now with my finding errors in making the SQL 7.0 DB, maybe I should stay with 6.0 ?</P><P>Jon Spartanx15 email: jonux@ixtech.net</P>]]>
   </description>
   <pubDate>Mon, 24 Nov 2003 16:57:26 +0000</pubDate>
   <guid isPermaLink="true">https://forums.webwiz.net/sql-server-script-issues_topic7554_post37855.html#37855</guid>
  </item> 
 </channel>
</rss>