Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Changing size of column

Status
Not open for further replies.

apollo11

Programmer
Apr 5, 2001
35
0
0
US
Can I change the size of an already existing not null nvarchar column in SQL Server 7.0 SP2? without dropping and recreating the table?
 
Alter Table TABLENAME Alter column COLUMNNAME varchar(SIZE)

I have used this syntax successfully for exactly that purpose, just change the all caps values to the values you need. Crystal
crystalized_s@yahoo.com

--------------------------------------------------

Experience is one thing you can't get for nothing.

-Oscar Wilde

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top