0

After i create table how can i but sql constraints????

20th Jan 2017, 9:40 AM
Hind Mansour Ahmed Mohmed Ali
Hind Mansour Ahmed Mohmed Ali - avatar
3 Answers
+ 1
You can add constraints to a table after creation with an alter table command. Here's a good starting point: http://www.w3schools.com/sql/sql_constraints.asp Can you tell us more about the kind of database you have and the type of constraints you want?
20th Jan 2017, 5:44 PM
Giulio Pellitta
Giulio Pellitta - avatar
0
thank you alot well, l use toad for sql server right now but before i used sql server 2008 for example null., not null., autoincrement, primary key
20th Jan 2017, 6:12 PM
Hind Mansour Ahmed Mohmed Ali
Hind Mansour Ahmed Mohmed Ali - avatar
0
can i ask you one more question?? who qualify to be a coulmn.??? my be characteristic??
20th Jan 2017, 6:15 PM
Hind Mansour Ahmed Mohmed Ali
Hind Mansour Ahmed Mohmed Ali - avatar