<?xml version="1.0"?><?xml-stylesheet type="text/xsl" href="/rss.xsl"?><rss version="2.0"><channel><title>ssce Discussions Rss Feed</title><link>http://ssce.codeplex.com/discussions</link><description>ssce Discussions Rss Description</description><item><title>New Post: "Cannot specify partition number in the alter index statement as the index  is not partitioned."</title><link>http://ssce.codeplex.com/discussions/354915</link><description>&lt;div style="line-height: normal;"&gt;
&lt;p&gt;&lt;br&gt;
&amp;quot;Cannot specify partition number in the alter index statement as the index&amp;nbsp; is not partitioned.&amp;quot;&lt;/p&gt;
&lt;p&gt;When i queried Sys.partitions table for the table name i could get multiple rows so i had rebuilt below syantax&lt;br&gt;
&lt;br&gt;
alter index&amp;nbsp;&amp;lt;Indexname1&amp;gt; on &amp;lt;tablename&amp;gt;&lt;br&gt;
rebuild partition = 1&lt;/p&gt;
&lt;p&gt;But recieve the error &amp;quot;Cannot specify partition number in the alter index statement as the index&amp;nbsp; is not partitioned.&amp;quot;&lt;/p&gt;
&lt;p&gt;I had removed partition =1 from alter index and rebuild the index but when i check the fragmentaation level on physical _io_stats, i could find the fragmentation level &amp;gt;50.&lt;/p&gt;
&lt;p&gt;Need help to defragment the table.&lt;/p&gt;
&lt;p&gt;Details: SQL Server 2005&lt;br&gt;
Indexes : two indexes&lt;br&gt;
Query on sys.partitions for table : 2 rows&lt;/p&gt;
&lt;/div&gt;</description><author>sanathkura</author><pubDate>Tue, 08 May 2012 12:41:49 GMT</pubDate><guid isPermaLink="false">New Post: "Cannot specify partition number in the alter index statement as the index  is not partitioned." 20120508124149P</guid></item><item><title>New Post: Error applying the automatic scripting</title><link>http://ssce.codeplex.com/discussions/257929</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;I am also getting the same error as above&lt;br /&gt;&lt;br /&gt;"Cannot specify partition number in the alter index statement as the index&amp;nbsp; is not partitioned."&lt;/p&gt;
&lt;p&gt;When i queried Sys.partitions table for the table name i could get multiple rows so i had rebuilt below syantax&lt;br /&gt;&lt;br /&gt;alter index&amp;nbsp;&amp;lt;Indexname1&amp;gt; on &amp;lt;tablename&amp;gt;&lt;br /&gt;rebuild partition = 1&lt;/p&gt;
&lt;p&gt;But recieve the error "Cannot specify partition number in the alter index statement as the index&amp;nbsp; is not partitioned."&lt;/p&gt;
&lt;p&gt;I had removed partition =1 from alter index and rebuild the index but when i check the fragmentaation level on physical _io_stats, i could find the fragmentation level &amp;gt;50.&lt;/p&gt;
&lt;p&gt;Need help to defragment the table.&lt;/p&gt;
&lt;p&gt;Details: SQL Server 2005&lt;br /&gt;Indexes : two indexes&lt;br /&gt;Query on sys.partitions for table : 2 rows&lt;/p&gt;&lt;/div&gt;</description><author>sanathkura</author><pubDate>Tue, 08 May 2012 12:38:06 GMT</pubDate><guid isPermaLink="false">New Post: Error applying the automatic scripting 20120508123806P</guid></item><item><title>New Post: Divide by zero error encountered</title><link>http://ssce.codeplex.com/discussions/283118</link><description>&lt;div style="line-height: normal;"&gt;
&lt;p&gt;Hello:&lt;br&gt;
&lt;br&gt;
This is an excellent tool &amp;amp; thank you for provding this tool to SQL Community.&lt;br&gt;
&lt;br&gt;
When i run this tool, intermitently i am getting popup window saying &amp;quot;Divide by zero error encountered&amp;quot;.&lt;br&gt;
&lt;br&gt;
Any resolution to this error or latest version is greatly appreciated.&lt;br&gt;
&lt;br&gt;
Thanks&lt;br&gt;
Regards&lt;br&gt;
Jay&lt;/p&gt;
&lt;/div&gt;</description><author>aaditya2000</author><pubDate>Thu, 15 Dec 2011 18:38:55 GMT</pubDate><guid isPermaLink="false">New Post: Divide by zero error encountered 20111215063855P</guid></item><item><title>New Post: Divide By Zero Error</title><link>http://ssce.codeplex.com/discussions/273189</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;Same here ... also not every tables were evaluated and only in the schema dbo.&lt;/p&gt;&lt;/div&gt;</description><author>YvesA</author><pubDate>Tue, 22 Nov 2011 16:43:15 GMT</pubDate><guid isPermaLink="false">New Post: Divide By Zero Error 20111122044315P</guid></item><item><title>New Post: Divide By Zero Error</title><link>http://ssce.codeplex.com/discussions/273189</link><description>&lt;div style="line-height: normal;"&gt;
&lt;p&gt;I get a lot of these when processing my tables.&lt;/p&gt;
&lt;/div&gt;</description><author>SwePeso</author><pubDate>Tue, 20 Sep 2011 13:23:16 GMT</pubDate><guid isPermaLink="false">New Post: Divide By Zero Error 20110920012316P</guid></item><item><title>New Post: Row compression?</title><link>http://ssce.codeplex.com/discussions/264330</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;It tries both ROW and PAGE. Depending upon which row in the grid you click you can choose to implement ROW or PAGE. IF all you are getting is PAGE as a possibility, then I need to investigate :)&lt;/p&gt;
&lt;p&gt;boB&lt;/p&gt;&lt;/div&gt;</description><author>majikbybob</author><pubDate>Mon, 18 Jul 2011 16:38:39 GMT</pubDate><guid isPermaLink="false">New Post: Row compression? 20110718043839P</guid></item><item><title>New Post: Row compression?</title><link>http://ssce.codeplex.com/discussions/264330</link><description>&lt;div style="line-height: normal;"&gt;
&lt;p&gt;Hi Bob,&lt;br&gt;
&lt;br&gt;
Very nice utility! I'm even doing a write-up for SQL Server Magazine about it.&lt;br&gt;
&lt;br&gt;
I noticed that all of the scripts produce PAGE compression.&amp;nbsp; Any plans to support ROW compression in the future? Since this is a simple switch in&amp;nbsp;&lt;em&gt;sp_estimate_data_compression_savings&lt;/em&gt;, I wondered if you might support that level of analysis
 as well?&lt;/p&gt;
&lt;p&gt;In the category of &amp;quot;cool &amp;amp; nice, but not necessary&amp;quot;, it'd be useful to be able to do blanket specification of certain types of objects, such as only tables, only clustered indexes, only indexed views, etc.&amp;nbsp; Again, not necessary, but could be very
 useful in a big schema.&lt;/p&gt;
&lt;p&gt;Also, a couple behavioral oddities.&amp;nbsp; First, the column sorts seemed a little weird.&amp;nbsp; For example, if I clicked to sort on the
&lt;em&gt;Current Size (KB)&lt;/em&gt; column, it didn't always come out in correct sorted order.&amp;nbsp; Lastly, although the tool is resizable, it doesn't appear that the column window itself is.&amp;nbsp; So I could drag the tool out to fit all of the columns into view, but
 the column window remained the same size hiding a couple columns.&lt;/p&gt;
&lt;p&gt;All in all, a great tool!&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;-Kevin Kline&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Twitter at @kekline&lt;/p&gt;
&lt;p&gt;&amp;nbsp;kevin.kline@quest.com&lt;/p&gt;
&lt;/div&gt;</description><author>kkline84</author><pubDate>Thu, 07 Jul 2011 22:19:16 GMT</pubDate><guid isPermaLink="false">New Post: Row compression? 20110707101916P</guid></item><item><title>New Post: Columns with imbedded ampersand (&amp;)</title><link>http://ssce.codeplex.com/discussions/259881</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;There appears to be a defect in the system stored procedure that provides the estimate of savings for compression. It does not correctly handle the case you have identified. I am filing a bug with the Product Team. Until then I can't fix this one. I did provide a minor release that at least gives a more meaningful message to the user. Thank you for your feedback.&lt;/p&gt;
&lt;p&gt;boB&lt;/p&gt;&lt;/div&gt;</description><author>majikbybob</author><pubDate>Thu, 02 Jun 2011 12:29:42 GMT</pubDate><guid isPermaLink="false">New Post: Columns with imbedded ampersand (&amp;) 20110602122942P</guid></item><item><title>New Post: Columns with imbedded ampersand (&amp;)</title><link>http://ssce.codeplex.com/discussions/259881</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;I'll take a look at it. Do you use QUOTED IDENTIFIERs in this database? Also, is it during the processing, or the script creation, or the execution of the script that this error occurs?&lt;/p&gt;
&lt;p&gt;boB&lt;/p&gt;&lt;/div&gt;</description><author>majikbybob</author><pubDate>Thu, 02 Jun 2011 11:34:43 GMT</pubDate><guid isPermaLink="false">New Post: Columns with imbedded ampersand (&amp;) 20110602113443A</guid></item><item><title>New Post: Columns with imbedded ampersand (&amp;)</title><link>http://ssce.codeplex.com/discussions/259881</link><description>&lt;div style="line-height: normal;"&gt;
&lt;p&gt;boB,&lt;/p&gt;
&lt;p&gt;This is shaping up to be a great tool - Thanks.&lt;/p&gt;
&lt;p&gt;I am receiving an unhandled exception error when I run against a database that contains &amp;amp; characters in the column name.&lt;/p&gt;
&lt;p&gt;Error as follows:&lt;/p&gt;
&lt;p&gt;Invalid column name 'OrgESA_13WkFull&amp;amp;amp;Path_Outcomes'.&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size:x-small"&gt;&lt;span style="font-size:x-small"&gt;Regards,&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size:x-small"&gt;&lt;span style="font-size:x-small"&gt;Shaun&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size:x-small"&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;/div&gt;</description><author>ShaunLombard</author><pubDate>Thu, 02 Jun 2011 03:19:24 GMT</pubDate><guid isPermaLink="false">New Post: Columns with imbedded ampersand (&amp;) 20110602031924A</guid></item><item><title>New Post: Error applying the automatic scripting</title><link>http://ssce.codeplex.com/discussions/257929</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;Thank you very much. The problem was solved. Congratulations for your program&lt;/p&gt;&lt;/div&gt;</description><author>masteroz</author><pubDate>Thu, 26 May 2011 13:20:00 GMT</pubDate><guid isPermaLink="false">New Post: Error applying the automatic scripting 20110526012000P</guid></item><item><title>New Post: Error applying the automatic scripting</title><link>http://ssce.codeplex.com/discussions/257929</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;Thank you&amp;nbsp; - the script generation code was incorrectly identifying whether or not an indexe was partitioned and was emitting the wrong script fragment.&lt;/p&gt;
&lt;p&gt;This has been corrected in V1.0.3.0&lt;/p&gt;&lt;/div&gt;</description><author>majikbybob</author><pubDate>Mon, 23 May 2011 17:47:39 GMT</pubDate><guid isPermaLink="false">New Post: Error applying the automatic scripting 20110523054739P</guid></item><item><title>New Post: Error applying the automatic scripting</title><link>http://ssce.codeplex.com/discussions/257929</link><description>&lt;div style="line-height: normal;"&gt;Hello.&lt;br&gt;
&lt;br&gt;
&lt;span id="result_box" lang="en"&gt;&lt;span title="Haz clic para obtener otras posibles traducciones"&gt;I will be&lt;/span&gt;
&lt;span title="Haz clic para obtener otras posibles traducciones"&gt;alert&lt;/span&gt; &lt;span title="Haz clic para obtener otras posibles traducciones"&gt;
during the&lt;/span&gt; &lt;span title="Haz clic para obtener otras posibles traducciones"&gt;
week&lt;/span&gt;&lt;/span&gt;&lt;br&gt;
&lt;span lang="en"&gt;&lt;span title="Haz clic para obtener otras posibles traducciones"&gt;&lt;/span&gt;&lt;/span&gt;&lt;br&gt;
&lt;span lang="en"&gt;&lt;span title="Haz clic para obtener otras posibles traducciones"&gt;Thank you&lt;/span&gt;&lt;/span&gt;
&lt;br&gt;
&lt;hr id="stopSpelling"&gt;
From: [email removed]&lt;br&gt;
To: [email removed]&lt;br&gt;
Date: Mon, 23 May 2011 02:29:09 -0700&lt;br&gt;
Subject: Re: Error applying the automatic scripting [ssce:257929]&lt;br&gt;
&lt;br&gt;
From: majikbybob&lt;br&gt;
&lt;div id="ecxThreadNotificationPostBody"&gt;I am working on this now. I hope to have an update available by the end of the week.&lt;br&gt;
&lt;/div&gt;
&lt;div id="ecxThreadNotificationFooter"&gt;Read the &lt;a href="http://ssce.codeplex.com/discussions/257929#post616639" target="_blank"&gt;
full discussion online&lt;/a&gt;.&lt;br&gt;
To add a post to this discussion, reply to this email (&lt;a href="mailto:ssce@discussions.codeplex.com?subject=[ssce:257929]"&gt;ssce@discussions.codeplex.com&lt;/a&gt;)&lt;br&gt;
To start a new discussion for this project, email &lt;a href="mailto:ssce@discussions.codeplex.com"&gt;
ssce@discussions.codeplex.com&lt;/a&gt;&lt;br&gt;
You are receiving this email because you subscribed to this discussion on CodePlex. You can
&lt;a href="https://ssce.codeplex.com/discussions/257929/unsubscribe/" target="_blank"&gt;
unsubscribe&lt;/a&gt; on CodePlex.com.&lt;br&gt;
Please note: Images and attachments will be removed from emails. Any posts to this discussion will also be available online at CodePlex.com&lt;br&gt;
&lt;/div&gt;
&lt;/div&gt;</description><author>masteroz</author><pubDate>Mon, 23 May 2011 10:23:19 GMT</pubDate><guid isPermaLink="false">New Post: Error applying the automatic scripting 20110523102319A</guid></item><item><title>New Post: Error applying the automatic scripting</title><link>http://ssce.codeplex.com/discussions/257929</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;I am working on this now. I hope to have an update available by the end of the week.&lt;/p&gt;&lt;/div&gt;</description><author>majikbybob</author><pubDate>Mon, 23 May 2011 09:29:08 GMT</pubDate><guid isPermaLink="false">New Post: Error applying the automatic scripting 20110523092908A</guid></item><item><title>New Post: Error applying the automatic scripting</title><link>http://ssce.codeplex.com/discussions/257929</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;Thank you, with the new vesion I get the following error:&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: xx-small;"&gt;
&lt;p&gt;&lt;span style="color: #ff0000;"&gt;Msg 7735, Level 16, State 1, Line 5&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color: #ff0000;"&gt;Cannot specify partition number in alter table statement to rebuild or reorganize a partition of table 'colectivos' as table is not partitioned.&lt;/span&gt;&lt;/p&gt;
&lt;/span&gt;&lt;/p&gt;&lt;/div&gt;</description><author>masteroz</author><pubDate>Fri, 20 May 2011 08:25:03 GMT</pubDate><guid isPermaLink="false">New Post: Error applying the automatic scripting 20110520082503A</guid></item><item><title>New Post: Error applying the automatic scripting</title><link>http://ssce.codeplex.com/discussions/257929</link><description>&lt;div style="line-height: normal;"&gt;Thank you very much. &lt;br&gt;
&lt;br&gt;
&lt;hr id="stopSpelling"&gt;
From: [email removed]&lt;br&gt;
To: [email removed]&lt;br&gt;
Date: Tue, 17 May 2011 15:31:49 -0700&lt;br&gt;
Subject: Re: Error applying the automatic scripting [ssce:257929]&lt;br&gt;
&lt;br&gt;
From: majikbybob&lt;br&gt;
&lt;div id="ecxThreadNotificationPostBody"&gt;I will take a look at this and see what is going on. Every object always has at least one partition... I may have to tweak the script - but I shouldn't have to.&lt;br&gt;
Thanks for the continuing feedback.&lt;br&gt;
boB&lt;br&gt;
&lt;/div&gt;
&lt;div id="ecxThreadNotificationFooter"&gt;Read the &lt;a target="_blank"&gt;full discussion online&lt;/a&gt;.&lt;br&gt;
To add a post to this discussion, reply to this email (&lt;a target="_blank"&gt;ssce@discussions.codeplex.com&lt;/a&gt;)&lt;br&gt;
To start a new discussion for this project, email &lt;a target="_blank"&gt;ssce@discussions.codeplex.com&lt;/a&gt;&lt;br&gt;
You are receiving this email because you subscribed to this discussion on CodePlex. You can
&lt;a target="_blank"&gt;unsubscribe&lt;/a&gt; on CodePlex.com.&lt;br&gt;
Please note: Images and attachments will be removed from emails. Any posts to this discussion will also be available online at CodePlex.com&lt;br&gt;
&lt;/div&gt;
&lt;/div&gt;</description><author>masteroz</author><pubDate>Wed, 18 May 2011 13:02:59 GMT</pubDate><guid isPermaLink="false">New Post: Error applying the automatic scripting 20110518010259P</guid></item><item><title>New Post: Error applying the automatic scripting</title><link>http://ssce.codeplex.com/discussions/257929</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;I will take a look at this and see what is going on. Every object always has at least one partition... I may have to tweak the script - but I shouldn't have to.&lt;/p&gt;
&lt;p&gt;Thanks for the continuing feedback.&lt;/p&gt;
&lt;p&gt;boB&lt;/p&gt;&lt;/div&gt;</description><author>majikbybob</author><pubDate>Tue, 17 May 2011 22:31:48 GMT</pubDate><guid isPermaLink="false">New Post: Error applying the automatic scripting 20110517103148P</guid></item><item><title>New Post: Error applying the automatic scripting</title><link>http://ssce.codeplex.com/discussions/257929</link><description>&lt;div style="line-height: normal;"&gt;
&lt;p&gt;Hello again. This version solves many issues (resize form, typing Server name...) but I cannot apply the script created with SQL Server Compression Estimator because in all cases I get the following error:&lt;/p&gt;
&lt;p&gt;&amp;nbsp;-- This compression script was created by Compression Estimator&lt;/p&gt;
&lt;p&gt;-- By applying PAGE compression setting, you should obtain &lt;br&gt;
-- approximately 20,00% compression&lt;br&gt;
ALTER TABLE [Sales].[SpecialOfferProduct]&lt;br&gt;
REBUILD PARTITION = 1&lt;br&gt;
WITH (DATA_COMPRESSION = PAGE);&lt;/p&gt;
&lt;p&gt;-- By applying PAGE compression setting, you should obtain &lt;br&gt;
-- approximately 44,66% compression&lt;br&gt;
ALTER TABLE [Sales].[Store]&lt;br&gt;
REBUILD PARTITION = 1&lt;br&gt;
WITH (DATA_COMPRESSION = PAGE);&lt;/p&gt;
&lt;p&gt;The database is AdventureWorks2008R2&lt;/p&gt;
&lt;p&gt;The error in all cases is&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size:xx-small"&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;span style="color:#ff0000"&gt;Msg 7729, Level 16, State 1, Line 5&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;font size="1"&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;span style="color:#ff0000"&gt;Cannot specify partition number in the alter index statement as the index 'PK_SpecialOfferProduct_SpecialOfferID_ProductID' is not partitioned.&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;/font&gt;&lt;/span&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thank you very much&lt;/p&gt;
&lt;div id="_mcePaste" style="width:1px; height:1px; overflow:hidden; top:0px; left:-10000px"&gt;
&amp;#65279;&lt;/div&gt;
&lt;/div&gt;</description><author>masteroz</author><pubDate>Tue, 17 May 2011 14:03:11 GMT</pubDate><guid isPermaLink="false">New Post: Error applying the automatic scripting 20110517020311P</guid></item><item><title>New Post: Thank you</title><link>http://ssce.codeplex.com/discussions/257533</link><description>&lt;div style="line-height: normal;"&gt;
&lt;p&gt;Thanks for the feedback. I have incorporated the requested enhancements and they are now available in Version 1.0.1.0&lt;/p&gt;
&lt;p&gt;boB&lt;/p&gt;
&lt;/div&gt;</description><author>majikbybob</author><pubDate>Fri, 13 May 2011 14:26:39 GMT</pubDate><guid isPermaLink="false">New Post: Thank you 20110513022639P</guid></item><item><title>New Post: Thank you</title><link>http://ssce.codeplex.com/discussions/257533</link><description>&lt;div style="line-height: normal;"&gt;
&lt;p&gt;Thanks for the feedback. I have incorporated the requested enhancements and they are now available in Version 1.0.1.0&lt;/p&gt;
&lt;p&gt;boB&lt;/p&gt;
&lt;/div&gt;</description><author>majikbybob</author><pubDate>Fri, 13 May 2011 14:26:39 GMT</pubDate><guid isPermaLink="false">New Post: Thank you 20110513022639P</guid></item></channel></rss>