﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>SQLServerCentral / Article Discussions / Article Discussions by Author / Discuss content posted by SA  / File Groups / Latest Posts</title><generator>InstantForum.NET v2.9.0</generator><description>SQLServerCentral</description><link>http://www.sqlservercentral.com/Forums/</link><webMaster>notifications@sqlservercentral.com</webMaster><lastBuildDate>Sun, 19 May 2013 09:31:46 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: File Groups</title><link>http://www.sqlservercentral.com/Forums/Topic804714-1469-1.aspx</link><description>Any DBCC PAGE output on this.</description><pubDate>Sat, 27 Feb 2010 03:57:36 GMT</pubDate><dc:creator>bhushanvinay</dc:creator></item><item><title>RE: File Groups</title><link>http://www.sqlservercentral.com/Forums/Topic804714-1469-1.aspx</link><description>Hi,I accept that others have tested and found that everything is created on FG1.&amp;gt;&amp;gt; from SQL 2008 BOLIf CLUSTERED is specified or the constraint otherwise creates a clustered index, and a &amp;lt;partition_scheme&amp;gt; is specified that differs from the &amp;lt;partition_scheme&amp;gt; or filegroup of the table definition, or vice-versa, only the constraint definition will be honored, and the other will be ignored. &amp;lt;&amp;lt;I read that and figured that both would be created on FG2, that is, the filegroup specification on the clustered indexed is ignored.But looking at it again, it could be read either way ...Cheers  David</description><pubDate>Thu, 10 Dec 2009 19:21:26 GMT</pubDate><dc:creator>David Todd-242471</dc:creator></item><item><title>RE: File Groups</title><link>http://www.sqlservercentral.com/Forums/Topic804714-1469-1.aspx</link><description>Got this one wrong.  I figured since there was a contradiction in the statement, SQL should complain.  Why does it choose FG1 over FG2?  Seems arbitrary to me.</description><pubDate>Fri, 13 Nov 2009 08:57:29 GMT</pubDate><dc:creator>rchantler</dc:creator></item><item><title>RE: File Groups</title><link>http://www.sqlservercentral.com/Forums/Topic804714-1469-1.aspx</link><description>Ouch -you got me - I didn't notice "clustered".And I've complained about people not reading questions carefully:blush:!</description><pubDate>Thu, 05 Nov 2009 06:18:25 GMT</pubDate><dc:creator>L' Eomot Inversé</dc:creator></item><item><title>RE: File Groups</title><link>http://www.sqlservercentral.com/Forums/Topic804714-1469-1.aspx</link><description>I knew this one because I've been "bit" by it before.  Would indeed be better if there was a warning.And for the why not create another table and move the data into that, there's DDL issues and possibly space issues, too.  It's also many more steps.</description><pubDate>Mon, 26 Oct 2009 15:49:49 GMT</pubDate><dc:creator>Pam Brisjar</dc:creator></item><item><title>RE: File Groups</title><link>http://www.sqlservercentral.com/Forums/Topic804714-1469-1.aspx</link><description>[quote][b]GabyYYZ (10/19/2009)[/b][hr][quote][b]SanjayAttray (10/19/2009)[/b][hr]Very good question.  I was asked this question in an interview.Q). What's the easiest and fastest way to move data of a table from file1 to file2?A). Move the clustered index from file1 to file2.[/quote]Why would that be faster than say, creating a target table on file2 and inserting all into it from the source table?[/quote]I suppose part of the question was easiest and fastest...Otherwise nice questions after all.</description><pubDate>Wed, 21 Oct 2009 05:43:25 GMT</pubDate><dc:creator>BudaCli</dc:creator></item><item><title>RE: File Groups</title><link>http://www.sqlservercentral.com/Forums/Topic804714-1469-1.aspx</link><description>I knew the data would be with the clustered index, but I wasn't sure whether the inner reference or outer reference would win, or whether an error would be thrown. I spent 10 minutes setting up a test environment to make sure. I would have been guessing among my three options otherwise.</description><pubDate>Tue, 20 Oct 2009 14:44:42 GMT</pubDate><dc:creator>Toby White</dc:creator></item><item><title>RE: File Groups</title><link>http://www.sqlservercentral.com/Forums/Topic804714-1469-1.aspx</link><description>[quote][b]Steve Jones - Editor (10/19/2009)[/b][hr]nice question, I missed the clustered part.The engine definitely should inform someone if this doesn't work.[/quote]Funny thing.  I missed this because I [b]DID[/b] see the clustered part and figured that SQL would complain about it.  Oh, well; learned something here for sure.</description><pubDate>Mon, 19 Oct 2009 17:25:39 GMT</pubDate><dc:creator>john.arnott</dc:creator></item><item><title>RE: File Groups</title><link>http://www.sqlservercentral.com/Forums/Topic804714-1469-1.aspx</link><description>Give us more i love these kind of questions.</description><pubDate>Mon, 19 Oct 2009 14:30:55 GMT</pubDate><dc:creator>AlexSQLForums</dc:creator></item><item><title>RE: File Groups</title><link>http://www.sqlservercentral.com/Forums/Topic804714-1469-1.aspx</link><description>Great question.  I learned something new.:-D</description><pubDate>Mon, 19 Oct 2009 11:16:20 GMT</pubDate><dc:creator>KevinC.</dc:creator></item><item><title>RE: File Groups</title><link>http://www.sqlservercentral.com/Forums/Topic804714-1469-1.aspx</link><description>[quote][b]SanjayAttray (10/19/2009)[/b][hr]Very good question.  I was asked this question in an interview.Q). What's the easiest and fastest way to move data of a table from file1 to file2?A). Move the clustered index from file1 to file2.[/quote]Why would that be faster than say, creating a target table on file2 and inserting all into it from the source table?</description><pubDate>Mon, 19 Oct 2009 09:50:34 GMT</pubDate><dc:creator>GabyYYZ</dc:creator></item><item><title>RE: File Groups</title><link>http://www.sqlservercentral.com/Forums/Topic804714-1469-1.aspx</link><description>Very good question.  I was asked this question in an interview.Q). What's the easiest and fastest way to move data of a table from file1 to file2?A). Move the clustered index from file1 to file2.</description><pubDate>Mon, 19 Oct 2009 09:05:33 GMT</pubDate><dc:creator>SanjayAttray</dc:creator></item><item><title>RE: File Groups</title><link>http://www.sqlservercentral.com/Forums/Topic804714-1469-1.aspx</link><description>nice question, I missed the clustered part.The engine definitely should inform someone if this doesn't work.</description><pubDate>Mon, 19 Oct 2009 07:51:39 GMT</pubDate><dc:creator>Steve Jones - SSC Editor</dc:creator></item><item><title>RE: File Groups</title><link>http://www.sqlservercentral.com/Forums/Topic804714-1469-1.aspx</link><description>So it just ignores the FG2 reference?  The fact that it essentially corrects the developer's mistake is great, I guess, but shouldn't the engine inform the developer that it's doing so?</description><pubDate>Mon, 19 Oct 2009 07:39:24 GMT</pubDate><dc:creator>Robert Frasca</dc:creator></item><item><title>RE: File Groups</title><link>http://www.sqlservercentral.com/Forums/Topic804714-1469-1.aspx</link><description>[quote][b]ChiragNS (10/19/2009)[/b][hr]knew the answer but clicked on the wrong button :([/quote]I didn't, although I should have.:Whistling:  Overlooked the fact that the constraint was clustered.  Good question :-P</description><pubDate>Mon, 19 Oct 2009 04:33:53 GMT</pubDate><dc:creator>Chris Houghton</dc:creator></item><item><title>RE: File Groups</title><link>http://www.sqlservercentral.com/Forums/Topic804714-1469-1.aspx</link><description>knew the answer but clicked on the wrong button :(</description><pubDate>Mon, 19 Oct 2009 02:09:19 GMT</pubDate><dc:creator>ChiragNS</dc:creator></item><item><title>File Groups</title><link>http://www.sqlservercentral.com/Forums/Topic804714-1469-1.aspx</link><description>Comments posted to this topic are about the item [B]&lt;A HREF="/questions/T-SQL/67494/"&gt;File Groups&lt;/A&gt;[/B]</description><pubDate>Sat, 17 Oct 2009 13:39:42 GMT</pubDate><dc:creator>SA-1</dc:creator></item></channel></rss>