I have a table like this : dbo.Table, and I recently create a namespace, and that table belongs there. So I want the table to be created on the new namespace, Namespace.Table, which is not big deal because I can script the table as a Create, and changes the [dbo].[table] to [Namespace].[Table]. But I need to import all the rows already on the old table. How can I achieve that?
Thanks
YOu can simply do a
INSERT INTO SchemaName.NewTable
SELECT * FROM SchemaOld.OldTable
HTH, Jens K. Suessmeyer.
http://www.sqlserver2005.de
|||Sweet! Thanks a lot for yur help!!
No comments:
Post a Comment