Re: ALTER COLUMN
From: Hugo Kornelis (hugo_at_pe_NO_rFact.in_SPAM_fo)
Date: 01/26/05
- Next message: Steve Kass: "Re: ALTER COLUMN"
- Previous message: Jacco Schalkwijk: "Re: ALTER COLUMN"
- In reply to: Vik: "ALTER COLUMN"
- Next in thread: Louis Davidson: "Re: ALTER COLUMN"
- Reply: Louis Davidson: "Re: ALTER COLUMN"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 26 Jan 2005 16:27:26 +0100
On Wed, 26 Jan 2005 10:20:15 -0500, Vik wrote:
>What is correct syntax to alter a few columns in one query like this:
>
>ALTER TABLE dbo.Inventory
>ALTER COLUMN
> Fld1 varchar(50) NULL,
> Fld2 int NULL
>
>I get "Incorrect syntax near ',' " error message on this query.
Hi Vik,
You can alter only one caolumn at a time.
ALTER TABLE dbo.Inventory
ALTER COLUMN
Fld1 varchar(50) NULL
ALTER TABLE dbo.Inventory
ALTER COLUMN
Fld2 int NULL
Best, Hugo
-- (Remove _NO_ and _SPAM_ to get my e-mail address)
- Next message: Steve Kass: "Re: ALTER COLUMN"
- Previous message: Jacco Schalkwijk: "Re: ALTER COLUMN"
- In reply to: Vik: "ALTER COLUMN"
- Next in thread: Louis Davidson: "Re: ALTER COLUMN"
- Reply: Louis Davidson: "Re: ALTER COLUMN"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|