<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: SQL SERVER &#8211; 2005 &#8211; SSMS &#8211; Enable Autogrowth Database Property</title>
	<atom:link href="http://blog.sqlauthority.com/2007/08/08/sql-server-2005-ssms-enable-autogrowth-database-property/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.sqlauthority.com/2007/08/08/sql-server-2005-ssms-enable-autogrowth-database-property/</link>
	<description>Personal Notes of Pinal Dave</description>
	<lastBuildDate>Sat, 25 May 2013 01:31:40 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
	<item>
		<title>By: srpacademy</title>
		<link>http://blog.sqlauthority.com/2007/08/08/sql-server-2005-ssms-enable-autogrowth-database-property/#comment-371709</link>
		<dc:creator><![CDATA[srpacademy]]></dc:creator>
		<pubDate>Fri, 09 Nov 2012 12:45:19 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/08/08/sql-server-2005-ssms-enable-autogrowth-database-property/#comment-371709</guid>
		<description><![CDATA[It might be the max size allowed to filegroup for the SQL license that you possess!]]></description>
		<content:encoded><![CDATA[<p>It might be the max size allowed to filegroup for the SQL license that you possess!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: srpacademy</title>
		<link>http://blog.sqlauthority.com/2007/08/08/sql-server-2005-ssms-enable-autogrowth-database-property/#comment-371708</link>
		<dc:creator><![CDATA[srpacademy]]></dc:creator>
		<pubDate>Fri, 09 Nov 2012 12:42:41 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/08/08/sql-server-2005-ssms-enable-autogrowth-database-property/#comment-371708</guid>
		<description><![CDATA[It might be the max limit allowed to the filegroup for the license of SQL Server that you possess.]]></description>
		<content:encoded><![CDATA[<p>It might be the max limit allowed to the filegroup for the license of SQL Server that you possess.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: hriosm</title>
		<link>http://blog.sqlauthority.com/2007/08/08/sql-server-2005-ssms-enable-autogrowth-database-property/#comment-256376</link>
		<dc:creator><![CDATA[hriosm]]></dc:creator>
		<pubDate>Fri, 24 Feb 2012 19:38:09 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/08/08/sql-server-2005-ssms-enable-autogrowth-database-property/#comment-256376</guid>
		<description><![CDATA[Thanks so much]]></description>
		<content:encoded><![CDATA[<p>Thanks so much</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rahul BHargava</title>
		<link>http://blog.sqlauthority.com/2007/08/08/sql-server-2005-ssms-enable-autogrowth-database-property/#comment-59979</link>
		<dc:creator><![CDATA[Rahul BHargava]]></dc:creator>
		<pubDate>Wed, 20 Jan 2010 07:22:15 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/08/08/sql-server-2005-ssms-enable-autogrowth-database-property/#comment-59979</guid>
		<description><![CDATA[Hi Pinal ,
When i found this error wile running my SP I went to  Enable Autogrowth but it was already set still i m facing this error.
and one more thing my sp is not giving same behavior for same input some times it gives me error after 40 iterations or some time 200 .It have total no of iteration is 331.

STRUCTURE OF SP IS Like:

While()
BEGIN 
   While()
   BEGIN 
          
          While()
          BEGIN 

           END
   END
END


Means more complex...]]></description>
		<content:encoded><![CDATA[<p>Hi Pinal ,<br />
When i found this error wile running my SP I went to  Enable Autogrowth but it was already set still i m facing this error.<br />
and one more thing my sp is not giving same behavior for same input some times it gives me error after 40 iterations or some time 200 .It have total no of iteration is 331.</p>
<p>STRUCTURE OF SP IS Like:</p>
<p>While()<br />
BEGIN<br />
   While()<br />
   BEGIN </p>
<p>          While()<br />
          BEGIN </p>
<p>           END<br />
   END<br />
END</p>
<p>Means more complex&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kyle</title>
		<link>http://blog.sqlauthority.com/2007/08/08/sql-server-2005-ssms-enable-autogrowth-database-property/#comment-54861</link>
		<dc:creator><![CDATA[Kyle]]></dc:creator>
		<pubDate>Fri, 14 Aug 2009 17:35:14 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/08/08/sql-server-2005-ssms-enable-autogrowth-database-property/#comment-54861</guid>
		<description><![CDATA[I am trying to figure out code to run every time a database is created, so this would all be part of a trigger on create of any database. My idea is to change the autogrowth for that database if it meets certain requirements. Right now when i execute the code it executes fine, but will not actually change the autogrowth for the database :(. 

DELCARE @dbname nvarchar(100), @File1Growth nvarchar(10), @File2Growth nvarchar(10)
SET @bdname = &#039;TempDatabase&#039; 

SET @SQLSTRING =
(
	&#039; USE &#039; + @dbname + 
	&#039; SET &#039; + @File1Growth + &#039; = &#039; + 
	&#039; ( &#039; +
	&#039;	SELECT sysfiles.growth &#039; +
	&#039;	FROM sysfiles &#039; +
	&#039;	WHERE sysfiles.FileId = 1 &#039; +
	&#039; ); &#039; +
	
	&#039; SET &#039; + @File2Growth + &#039; = &#039; + 
	&#039; ( &#039; +
	&#039;	SELECT sysfiles.growth &#039; +
	&#039;	FROM sysfiles &#039; +
	&#039;	WHERE sysfiles.FileId = 2 &#039; +
	&#039; ); &#039; +
		
	&#039; IF &#039; + @File1Growth + &#039; &lt;= 1 &#039; + 
		&#039; ALTER DATABASE &#039; +  @dbname + 
			&#039; MODIFY FILE (NAME = &#039; + @dbname + &#039;,FILEGROWTH = 4MB);&#039; +
	
	&#039; IF &#039; + @File2Growth + &#039; &lt;= 10 &#039; +
		&#039; ALTER DATABASE &#039; +  @dbname + 
			&#039; MODIFY FILE (NAME = &#039; + @dbname + &#039;_Log,FILEGROWTH = 4MB);&#039;
);

EXEC SP_EXECUTESQL @SQLSTRING


I am wondering if anyone has any ideas that may work?]]></description>
		<content:encoded><![CDATA[<p>I am trying to figure out code to run every time a database is created, so this would all be part of a trigger on create of any database. My idea is to change the autogrowth for that database if it meets certain requirements. Right now when i execute the code it executes fine, but will not actually change the autogrowth for the database :(. </p>
<p>DELCARE @dbname nvarchar(100), @File1Growth nvarchar(10), @File2Growth nvarchar(10)<br />
SET @bdname = &#8216;TempDatabase&#8217; </p>
<p>SET @SQLSTRING =<br />
(<br />
	&#8216; USE &#8216; + @dbname +<br />
	&#8216; SET &#8216; + @File1Growth + &#8216; = &#8216; +<br />
	&#8216; ( &#8216; +<br />
	&#8216;	SELECT sysfiles.growth &#8216; +<br />
	&#8216;	FROM sysfiles &#8216; +<br />
	&#8216;	WHERE sysfiles.FileId = 1 &#8216; +<br />
	&#8216; ); &#8216; +</p>
<p>	&#8216; SET &#8216; + @File2Growth + &#8216; = &#8216; +<br />
	&#8216; ( &#8216; +<br />
	&#8216;	SELECT sysfiles.growth &#8216; +<br />
	&#8216;	FROM sysfiles &#8216; +<br />
	&#8216;	WHERE sysfiles.FileId = 2 &#8216; +<br />
	&#8216; ); &#8216; +</p>
<p>	&#8216; IF &#8216; + @File1Growth + &#8216; &lt;= 1 &#039; +<br />
		&#039; ALTER DATABASE &#039; +  @dbname +<br />
			&#039; MODIFY FILE (NAME = &#039; + @dbname + &#039;,FILEGROWTH = 4MB);&#039; +</p>
<p>	&#039; IF &#039; + @File2Growth + &#039; &lt;= 10 &#039; +<br />
		&#039; ALTER DATABASE &#039; +  @dbname +<br />
			&#039; MODIFY FILE (NAME = &#039; + @dbname + &#039;_Log,FILEGROWTH = 4MB);&#039;<br />
);</p>
<p>EXEC SP_EXECUTESQL @SQLSTRING</p>
<p>I am wondering if anyone has any ideas that may work?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rahul</title>
		<link>http://blog.sqlauthority.com/2007/08/08/sql-server-2005-ssms-enable-autogrowth-database-property/#comment-42580</link>
		<dc:creator><![CDATA[Rahul]]></dc:creator>
		<pubDate>Tue, 09 Sep 2008 05:56:35 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/08/08/sql-server-2005-ssms-enable-autogrowth-database-property/#comment-42580</guid>
		<description><![CDATA[hi dave
how can i set the growth file size ........?
is it will create any problem during DB transaction??]]></description>
		<content:encoded><![CDATA[<p>hi dave<br />
how can i set the growth file size &#8230;&#8230;..?<br />
is it will create any problem during DB transaction??</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: gavin</title>
		<link>http://blog.sqlauthority.com/2007/08/08/sql-server-2005-ssms-enable-autogrowth-database-property/#comment-41798</link>
		<dc:creator><![CDATA[gavin]]></dc:creator>
		<pubDate>Tue, 19 Aug 2008 19:43:13 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/08/08/sql-server-2005-ssms-enable-autogrowth-database-property/#comment-41798</guid>
		<description><![CDATA[I have  a problem with the auto growth, for some reason sql 2005 changes the auto growth to grow by either 6400 or 1440 %. i cant disable it because there is more inserting then selecting. 
if anyway could could give me a solution it will really be appreciated.

regarads gavin
please mail it to me.
]]></description>
		<content:encoded><![CDATA[<p>I have  a problem with the auto growth, for some reason sql 2005 changes the auto growth to grow by either 6400 or 1440 %. i cant disable it because there is more inserting then selecting.<br />
if anyway could could give me a solution it will really be appreciated.</p>
<p>regarads gavin<br />
please mail it to me.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Cherie</title>
		<link>http://blog.sqlauthority.com/2007/08/08/sql-server-2005-ssms-enable-autogrowth-database-property/#comment-41792</link>
		<dc:creator><![CDATA[Cherie]]></dc:creator>
		<pubDate>Tue, 19 Aug 2008 16:20:09 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/08/08/sql-server-2005-ssms-enable-autogrowth-database-property/#comment-41792</guid>
		<description><![CDATA[Even though I change the autogrowth with method above, its still 1280% in sysfiles like when I do:

select * from sysfiles]]></description>
		<content:encoded><![CDATA[<p>Even though I change the autogrowth with method above, its still 1280% in sysfiles like when I do:</p>
<p>select * from sysfiles</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dusko</title>
		<link>http://blog.sqlauthority.com/2007/08/08/sql-server-2005-ssms-enable-autogrowth-database-property/#comment-34402</link>
		<dc:creator><![CDATA[Dusko]]></dc:creator>
		<pubDate>Mon, 17 Mar 2008 17:53:18 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/08/08/sql-server-2005-ssms-enable-autogrowth-database-property/#comment-34402</guid>
		<description><![CDATA[Hi Dave,

Good article. On one of my DB instances, SQL Server always reset this to &quot;Restricted File Growth&quot;. I tried few times to define Unrestricted File Growth, and server always reverts it bac to restricted. Any idea what could be wrong?]]></description>
		<content:encoded><![CDATA[<p>Hi Dave,</p>
<p>Good article. On one of my DB instances, SQL Server always reset this to &#8220;Restricted File Growth&#8221;. I tried few times to define Unrestricted File Growth, and server always reverts it bac to restricted. Any idea what could be wrong?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kostas Michas</title>
		<link>http://blog.sqlauthority.com/2007/08/08/sql-server-2005-ssms-enable-autogrowth-database-property/#comment-19348</link>
		<dc:creator><![CDATA[Kostas Michas]]></dc:creator>
		<pubDate>Tue, 13 Nov 2007 10:50:14 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/08/08/sql-server-2005-ssms-enable-autogrowth-database-property/#comment-19348</guid>
		<description><![CDATA[That&#039;s a usefull info, thanks Dave.]]></description>
		<content:encoded><![CDATA[<p>That&#8217;s a usefull info, thanks Dave.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
