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