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...


Can we use Truncate command on a table which is referenced
by FOREIGN KEY?

Answers were Sorted based on User's Feedback



Can we use Truncate command on a table which is referenced by FOREIGN KEY?..

Answer / guest

No. We cannot use Truncate command on a table with Foreign
Key because of referential integrity.

Is This Answer Correct ?    18 Yes 1 No

Can we use Truncate command on a table which is referenced by FOREIGN KEY?..

Answer / samji

Cacase can be used to delete a table which is referenced
by FOREIGN KEY

Is This Answer Correct ?    5 Yes 2 No

Post New Answer

More SQL Server Interview Questions

In which format does an image save in SQL Server database ?

0 Answers   MCN Solutions,


How to swap the data of two columns in a table. both the columns containing varchar values.

9 Answers  


What is a trigger and its types?

0 Answers  


Explain ranking functions?

0 Answers  


When we are using this query to shrink the log file,what exactly it will execute internally? Do we lose any data when we run this script? which data it will truncate in the log file and where it is saved. Please let me know... USE DatabaseName GO DBCC SHRINKFILE(<TransactionLogName>, 1) BACKUP LOG <DatabaseName> WITH TRUNCATE_ONLY DBCC SHRINKFILE(<TransactionLogName>, 1) GO

1 Answers   Cognizant,


What are acid properties of transaction?

0 Answers  


Why truncate is ddl?

0 Answers  


How to list all user defined functions in the current database?

0 Answers  


How to replace the Query Result 'Null Value' with a text ?

0 Answers   MCN Solutions,


Can you explain what is the use of custom fields in report?

0 Answers  


internal language used in sql server 2000?

2 Answers  


what stored procedure would you use to view lock information? : Sql server administration

0 Answers  


Categories