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
 General SQL Server Forums
 New to SQL Server Administration
 Data lost - convert varchar(max) to varchar(2000)
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

amodi
Yak Posting Veteran

Saudi Arabia
83 Posts

Posted - 09/12/2009 :  06:47:03  Show Profile  Reply with Quote
Hello friends,
I converted one column type from varchar(max) to varchar(2000). The column is trimmed and i lost the data which is greater than 2000 characters.

Is there a way to get back the data. I don't have backup

SwePeso
Patron Saint of Lost Yaks

Sweden
30281 Posts

Posted - 09/12/2009 :  07:37:49  Show Profile  Visit SwePeso's Homepage  Reply with Quote
What did you do when SSMS warned you about possible truncation?



N 56°04'39.26"
E 12°55'05.63"
Go to Top of Page

amodi
Yak Posting Veteran

Saudi Arabia
83 Posts

Posted - 09/12/2009 :  08:18:13  Show Profile  Reply with Quote
Hello Peso,
Actually i am trying to solve the following problem:

http://www.sqlteam.com/forums/topic.asp?TOPIC_ID=132655

I asked a friend to take a "back-up" to be on safe-side, but unfortunately she forget to take the "back-up". I was confident about the back-up and didn't read what SSMS warned about possible truncation.

Any ways, if its not possible i will put the old back-up file(at least that can save my friends job).

Peso would you please check the following link:
http://www.sqlteam.com/forums/topic.asp?TOPIC_ID=132655

Thanks!
Go to Top of Page

tkizer
Almighty SQL Goddess

USA
37287 Posts

Posted - 09/13/2009 :  23:27:40  Show Profile  Visit tkizer's Homepage  Reply with Quote
You must recover the data through a backup.

Tara Kizer
Microsoft MVP for Windows Server System - SQL Server
http://weblogs.sqlteam.com/tarad/

Subscribe to my blog

"Let's begin with the premise that everything you've done up until this point is wrong."
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