Solved

varchar to text

Posted on 2010-09-07
4
364 Views
Last Modified: 2012-05-10
alter datatype
varchar to text
0
Comment
Question by:rgb192
4 Comments
 
LVL 92

Expert Comment

by:Patrick Matthews
ID: 33622333
If you are using SQL 2005, why would you want to do that?  You are better off using varchar(max) than text...
0
 
LVL 19

Accepted Solution

by:
Bhavesh Shah earned 500 total points
ID: 33624625
alter table <<tableName>>
alter column <<ColumnName>> varchar(max)
0
 
LVL 58

Expert Comment

by:cyberkiwi
ID: 33625594
create table testtbl (vc varchar(1000))
GO
alter table testtbl alter column vc text
GO
0
 

Author Closing Comment

by:rgb192
ID: 33628392
thanks
0

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Data architecture is an important aspect in Software as a Service (SaaS) delivery model. This article is a study on the database of a single-tenant application that could be extended to support multiple tenants. The application is web-based develope…
Use this article to create a batch file to backup a Microsoft SQL Server database to a Windows folder.  The folder can be on the local hard drive or on a network share.  This batch file will query the SQL server to get the current date & time and wi…
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

773 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question