Please start any new threads on our new site at http://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

Our new SQL Server Forums are live! Come on over! We've restricted the ability to create new threads on these forums.

SQL Server Forums
Profile | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 SQL Server 2005 Forums
 Transact-SQL (2005)
 Saving Definition Changes to tables with large amo
 Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

magmo
Aged Yak Warrior

558 Posts

Posted - 11/08/2013 :  14:10:28  Show Profile  Reply with Quote
Hi

I have a table with a large amount of data, I try to make a Bigint column a primary key and also "is identity" using sql server manager, but I get a "Saving Definition Changes to tables with large amounts of data" warning and then a timeout error. How can I get around this?

visakh16
Very Important crosS Applying yaK Herder

India
52326 Posts

Posted - 11/10/2013 :  01:48:11  Show Profile  Reply with Quote
instead try to do it from wizard try using ALTER TABLE syntax in ssms

------------------------------------------------------------------------------------------------------
SQL Server MVP
http://visakhm.blogspot.com/
https://www.facebook.com/VmBlogs
Go to Top of Page

magmo
Aged Yak Warrior

558 Posts

Posted - 11/11/2013 :  01:40:29  Show Profile  Reply with Quote
quote:
Originally posted by visakh16

instead try to do it from wizard try using ALTER TABLE syntax in ssms

------------------------------------------------------------------------------------------------------
SQL Server MVP
http://visakhm.blogspot.com/
https://www.facebook.com/VmBlogs





Yes that worked much better, thanks!
Go to Top of Page
  Previous Topic Topic Next Topic  
 Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.06 seconds. Powered By: Snitz Forums 2000