SQL Server Forums
Profile | Register | 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
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

magmo
Constraint Violating Yak Guru

498 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
52249 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
Constraint Violating Yak Guru

498 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  
 New 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.05 seconds. Powered By: Snitz Forums 2000