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

add boolean column

Status
Not open for further replies.

dessie1981

Programmer
May 9, 2006
116
0
0
GB
Hi everyone,

Can anyone give me the right syntax to use here please

Code:
alter table orders add column uploaded boolean default false;

Regards
Dessie
 
alter table orders
add column uploaded CHAR(1) NOT NULL default 'N';

or

alter table orders
add column uploaded TINYINT NOT NULL default 0;


r937.com | rudy.ca
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top