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

Your name:

Reply:


Posted by Erland Sommarskog on 04/30/07 07:34

B D Jensen (bjorn.d.jensen@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, esquel@sommarskog.se

Books Online for SQL Server 2005 at
http://www.microsoft.com/technet/prodtechnol/sql/2005/downloads/books.mspx
Books Online for SQL Server 2000 at
http://www.microsoft.com/sql/prodinfo/previousversions/books.mspx

[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

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