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 2000 Forums
 SQL Server Administration (2000)
 restore data without changing the column's new size in table
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

AskSQLTeam
Ask SQLTeam Question

USA
0 Posts

Posted - 07/12/2006 :  11:19:34  Show Profile  Visit AskSQLTeam's Homepage  Reply with Quote
Phani kumar writes "In my database in a table, one of the column's size was 50. I took the complete backup of the database. But now the column's size was increased to 100 and there were some changes in the database. I created a new database and restored the backup. To my surprise column's size is changed to 50 after restoring the database. how can i restore the data without changing the column's size in my table. It should be 100 but data should be restored."

nr
SQLTeam MVY

United Kingdom
12543 Posts

Posted - 07/12/2006 :  11:30:00  Show Profile  Visit nr's Homepage  Reply with Quote
The column size won't change on a restore - it could be the way you are viewing it. Sounds like in some places you are seeing the byte size and some a character size of a unicode column.

==========================================
Cursors are useful if you don't know sql.
DTS can be used in a similar way.
Beer is not cold and it isn't fizzy.
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