General information
Forum:
Microsoft SQL Server
Environment versions
SQL Server:
SQL Server 2005
Naomi,
You are correct, you can ADD multiple columns in a single statement, but you can only ALTER one column at a time in a SQL statement.
Kurt
>Kurt,
>
>Can you alter two columns at once? There is no sample in BOL and I assume it's impossible.
>
>I need
>ALTER TABLE Friends ALTER COLUMN [EmergencyContactPhone1] [varchar](25) NULL,
> [EmergencyContactPhone] [varchar](25) NULL
>
>
>(change type of both columns).
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only