|
|
|
Ten Centuries
      
Group: General Forum Members
Last Login: Tuesday, June 11, 2013 8:04 AM
Points: 1,140,
Visits: 936
|
|
| Comments posted to this topic are about the item File Groups
|
|
|
|
|
SSCrazy
      
Group: General Forum Members
Last Login: Wednesday, April 24, 2013 5:02 AM
Points: 2,365,
Visits: 1,825
|
|
knew the answer but clicked on the wrong button
"Keep Trying"
|
|
|
|
|
Mr or Mrs. 500
      
Group: General Forum Members
Last Login: Thursday, June 06, 2013 5:57 AM
Points: 557,
Visits: 1,365
|
|
|
|
|
|
Mr or Mrs. 500
      
Group: General Forum Members
Last Login: Today @ 1:39 PM
Points: 537,
Visits: 606
|
|
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?
"Beliefs" get in the way of learning.
|
|
|
|
|
SSC-Dedicated
           
Group: Administrators
Last Login: Today @ 3:19 PM
Points: 31,526,
Visits: 13,863
|
|
|
|
|
|
Hall of Fame
       
Group: General Forum Members
Last Login: Friday, March 15, 2013 2:43 PM
Points: 3,924,
Visits: 1,554
|
|
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.
SQL DBA.
|
|
|
|
|
SSC Eights!
      
Group: General Forum Members
Last Login: Today @ 12:44 PM
Points: 802,
Visits: 2,012
|
|
SanjayAttray (10/19/2009) 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. Why would that be faster than say, creating a target table on file2 and inserting all into it from the source table?
Gaby ________________________________________________________________ "In theory, theory and practice are the same. In practice, they are not." - Albert Einstein
|
|
|
|
|
Right there with Babe
      
Group: General Forum Members
Last Login: Tuesday, December 07, 2010 12:55 AM
Points: 771,
Visits: 504
|
|
Great question. I learned something new.
|
|
|
|
|
Ten Centuries
      
Group: General Forum Members
Last Login: Wednesday, June 12, 2013 2:41 PM
Points: 1,228,
Visits: 1,726
|
|
Give us more i love these kind of questions.
Alex S
|
|
|
|
|
UDP Broadcaster
      
Group: General Forum Members
Last Login: Monday, June 10, 2013 7:59 PM
Points: 1,491,
Visits: 3,010
|
|
Steve Jones - Editor (10/19/2009) nice question, I missed the clustered part.
The engine definitely should inform someone if this doesn't work.Funny thing. I missed this because I DID see the clustered part and figured that SQL would complain about it. Oh, well; learned something here for sure.
|
|
|
|