Alter Table Question

D

Darren

The following will change an existing field to required...

ALTER TABLE [MyTable] ALTER COLUMN [MyColumn] Char(50) NOT NULL

But I cannot seem to find a way to do the reverse.

Any help would be appreciated.
 
M

MGFoster

Darren said:
The following will change an existing field to required...

ALTER TABLE [MyTable] ALTER COLUMN [MyColumn] Char(50) NOT NULL

But I cannot seem to find a way to do the reverse.

Any help would be appreciated.

ALTER TABLE [MyTable] ALTER COLUMN [MyColumn] Char(50) NULL
 
D

Darren

I have tried this, but it has no affect.


MGFoster said:
Darren said:
The following will change an existing field to required...

ALTER TABLE [MyTable] ALTER COLUMN [MyColumn] Char(50) NOT NULL

But I cannot seem to find a way to do the reverse.

Any help would be appreciated.

ALTER TABLE [MyTable] ALTER COLUMN [MyColumn] Char(50) NULL
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top