Hi All, I have the following script, that I created to copy and create a table. I want to modify the created index field and create a new primary key field.
Can someone point me in the right direction here. drop table [dbo].[MealsMapping] GO SELECT ME_ID, ME_Operator INTO MealsMapping FROM Meals where ME_Operator is not null go ALTER TABLE [dbo].[MealsMapping] add [MealsMappingId] [int] NOT NULL IDENTITY(1, 1) go Andrew Scott Senior Coldfusion Developer Aegeon Pty. Ltd. www.aegeon.com.au Phone: +613 8676 4223 Mobile: 0404 998 273 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/SQL/message.cfm/messageid:2635 Subscription: http://www.houseoffusion.com/groups/SQL/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.6
