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 drop a table, does it also drop related objects like constraints, indexes, columns, defaults, views, and stored procedures?

Answer Posted / anusha

No, dropping the table does not delete the corresponding table objects. Need to drop Indexes, views first before dropping the table.

eg:
drop view <database name>.<view name>
alter table <database name>.<table name> drop <index type>
drop table <database name>.<table name>

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

If the job running very slow what is the action you do

1894


Explain forward - only cursors?

1071


How do you manipulate data?

910


What is the maximum size of a dimension? : sql server analysis services, ssas

1047


How to find index size for each index on table?

1003


How can we delete Duplicate row in table?

1066


List some advantages and disadvantages of stored procedure?

1016


What is bookmark link in ssrs?

244


What is indexing a document?

1034


How can we check the sql server version?

1068


How can we solve concurrency problems?

1054


What is the function of inner join?

1074


What is failover clustering overview?

1090


What does Master database contains?

1136


Why use stored procedures in sql server?

1015