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?



If we drop a table, does it also drop related objects like constraints, indexes, columns, defaults, ..

Answer / 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

More SQL Server Interview Questions

What are four major operators that can be used to combine conditions on a where clause?

0 Answers  


What is similarity and difference between truncate and delete in sql?

0 Answers  


How network traffic be reduced by using the stored procedure?

0 Answers   Accenture,


If we shrink the Databse and Files, how much size is decreased?

1 Answers   TCS,


What is hierarchy, what are its types and difference between them? : sql server analysis services, ssas

0 Answers  


What is index in an assignment?

0 Answers  


Explain log shipping?

0 Answers  


What is better - 2nd Normal form or 3rd normal form? Why?

2 Answers   TCS, TPK,


What is the difference between OLEDB and ODBC

4 Answers   CFCI,


What are indexes? When do you need to create Indexes?

4 Answers   CarrizalSoft Technologies, HP,


Explain difference between cross join and full outer join?

0 Answers  


How to compose an inquiry to demonstrate the points of interest of an understudy from students table whose name begins with k?

0 Answers  


Categories