Reply to Re: Transform/transfer 50Gb - how to do it fast?

Your name:

Reply:


Posted by B D Jensen on 04/30/07 08:22

On 30 Apr., 09:34, Erland Sommarskog <esq...@sommarskog.se> wrote:
> B D Jensen (bjorn.d.jen...@gmail.com) writes:
>
> > Thanks for the details about requirements.
> > But I'm afraid I then must create the newtbl first,
> > because the old table is in the Primary filegroup.
>
> > And as I see there is no way for saying:
> > select id, func1(col1) into newtbl MYNEWFG from oldtbl.
>
> > So I think I have look at unload/load now....
>
> But doesn't ALTER DATABASE permit you to specify a different filegroup as
> the default filegroup? You could do that, and then your SELECT INTO tables
> should end up there. At least that is what I would expect.
>
> --
> Erland Sommarskog, SQL Server MVP, esq...@sommarskog.se
>
> Books Online for SQL Server 2005 athttp://www.microsoft.com/technet/prodtechnol/sql/2005/downloads/books...
> Books Online for SQL Server 2000 athttp://www.microsoft.com/sql/prodinfo/previousversions/books.mspx

very, very good point!
/Bjorn

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация