Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Change datatype existing field
Message
From
04/01/1999 13:03:44
 
 
To
21/12/1998 05:19:53
General information
Forum:
Microsoft SQL Server
Category:
Backups
Miscellaneous
Thread ID:
00169310
Message ID:
00172484
Views:
25
>How to change datatypes of een existing fields

SQL Server 6.5 did not allow you to change the datatype for an existing column. You had to drop and re-create the table. SQL Server 7.0 does have this functionality through the ALTER TABLE statement but there are some constraints to changing a column's datatype. One of the biggest is that SQL Server must be able to implicitly convert between the two datatypes.

-Mike
Michael Levy
MCSD, MCDBA
ma_levy@hotmail.com
Previous
Reply
Map
View

Click here to load this message in the networking platform