Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

If we have n no of columns in a table, can we add new
column in that table with not null constraint?

Answer Posted / chandan kumar

If table is empty (means no records are there) then we can
add the constraint.

alter table tablename add (col_name datatype not null)

Is This Answer Correct ?    6 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is indexing in sql and its types?

1083


What is the size of partition table?

1048


what are the other commands to know the structure of table using mysql commands except explain command? : Sql dba

1077


Does truncate free space?

1018


Write a program that shows the usage of while loop to calculate the average of user entered numbers and entry of more numbers are stopped by entering number 0?

2284


How to use transactions efficiently : transact sql

1061


In a distributed database system, can we execute two queries simultaneously?

1098


Explain the the update statement in sql?

1044


Name some usages of database trigger?

1022


What is left join in sql?

1055


How many types of normalization are there?

969


What is difference between function and trigger?

1055


What is the process of debugging?

1078


explain the difference between delete , truncate and drop commands? : Sql dba

1098


what is difference between delete and truncate commands? : Sql dba

1138