|
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
Navigation:
[Reply to this message]
|