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 TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ALTER TABLE.....Multiple operations in 1 statement

Status
Not open for further replies.

CID8

Programmer
Nov 22, 2001
25
ES
Does anyone know whether I need to do 3 separate statements to achieve the following, a single statement doesn't seem to work?

ALTER TABLE AdmixCorr
ALTER COLUMN AdmixCorrID INT NOT NULL,
ALTER COLUMN AdmixCorrRef VARCHAR(20) NOT NULL,
ADD COLUMN DateImp DATETIME NOT NULL

Thanks in advance
 
As far as I know (which isn't far), you can only make one alteration per query.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top