Solved

NEWBIE: TSQL to increase width of column?

Posted on 2006-10-31
3
502 Views
Last Modified: 2008-02-26
Dear Experts,

How do I increase the width of an existing field using TSQL?

Thanks,
BrianMc1958
0
Comment
Question by:BrianMc1958
3 Comments
 
LVL 142

Accepted Solution

by:
Guy Hengel [angelIII / a3] earned 100 total points
ID: 17841854
alter table yourtable alter yourcolumn varchar(newsize)
0
 
LVL 14

Assisted Solution

by:mherchl
mherchl earned 25 total points
ID: 17841877
ALTER TABLE yourtable ALTER COLUMN yourcolumn varchar(newsize)
0
 

Author Comment

by:BrianMc1958
ID: 17841896
Thanks, folks.
--BrianMc1958
0

Featured Post

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

Question has a verified solution.

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

Suggested Solutions

When you hear the word proxy, you may become apprehensive. This article will help you to understand Proxy and when it is useful. Let's talk Proxy for SQL Server. (Not in terms of Internet access.) Typically, you'll run into this type of problem w…
Why is this different from all of the other step by step guides?  Because I make a living as a DBA and not as a writer and I lived through this experience. Defining the name: When I talk to people they say different names on this subject stuff l…
Viewers will learn how to use the SELECT statement in SQL and will be exposed to the many uses the SELECT statement has.
Viewers will learn how to use the UPDATE and DELETE statements to change or remove existing data from their tables. Make a table: Update a specific column given a specific row using the UPDATE statement: Remove a set of values using the DELETE s…

803 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