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 2008 Forums
 SQL Server Administration (2008)
 change column size
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

pelegk2
Aged Yak Warrior

Israel
723 Posts

Posted - 02/14/2013 :  10:25:44  Show Profile  Visit pelegk2's Homepage  Send pelegk2 an ICQ Message  Reply with Quote
i have table :
id identity int PK,
data nvarchar(200) null

i want to change it to nvarchar(800)
but the problem is the index that can't be created any solution for this?

James K
Flowing Fount of Yak Knowledge

3710 Posts

Posted - 02/14/2013 :  10:32:12  Show Profile  Reply with Quote
None that I know of. The only options I can think of are to accept the max width (450), or, if you don't really need the unicode capability, to change the data type to VARCHAR(800).
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.06 seconds. Powered By: Snitz Forums 2000