Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Changing type from Text to Varchar(max)
Message
 
 
General information
Forum:
Microsoft SQL Server
Category:
Other
Miscellaneous
Thread ID:
01631464
Message ID:
01631467
Views:
53
>>I have tested on my own test database that when I change a column type from Text to Varchar(max) the content of the column is not lost. But since I am going to do this change on a bunch of customers' databases, is there any chance that the content would be lost?
>>I am changing the type in the SSMS.
>>Thank you.
>
>
>Hi, I would definitely recommend creating a test version of the tables....then change the data type and verify the results.
>
>I'm not specifically aware of any issues - but I would definitely test the results. Also, if there were any client applications that read the data, I'd make sure they still work (just in the odd event a client application was explicitly looking for a text data type)

I did test on my own tables and so far no problem. As far as the application, the databases are used by my (VFP9) application and it works too. Actually this is how I tested the results after the change, via the VFP 9 application. My app accesses and updates the SQL server data via Cursor Adapter which is has the same type (memo) for either Text or Varchar(max).
Thank you!
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform