sql server common interview questions and answers page 6
TRANSCRIPT
SQL Server - Common Interview Questions and Answers Page 6
http://www.indiabix.com/technical/sql-server-common-questions/6[08/29/2012 4:08:58 PM]
Aptitude ? Reasoning ? Verbal Ability GK Puzzles Programming ? Engineering Medical ? Interview Online Test
SQL Server - Common Interview Questions and Answers
@ : Home > Technical Interview > SQL Server Common Questions > Interview Questions
31. What is BCP? When does it used?
BulkCopy is a tool used to copy huge amount of data from tables and views. BCP does not copy the structuressame as source to destination. BULK INSERT command helps to import a data file into a database table or view in auser-specified format.
32. How to implement one-to-one, one-to-many and many-to-many relationships while designing tables?
One-to-One relationship can be implemented as a single table and rarely as two tables with primary and foreignkey relationships. One-to-Many relationships are implemented by splitting the data into two tables with primary keyand foreign key relationships. Many-to-Many relationships are implemented using a junction table with the keysfrom both the tables forming the composite primary key of the junction table.
33. What is an execution plan? When would you use it? How would you view the execution plan?
An execution plan is basically a road map that graphically or textually shows the data retrieval methods chosen bythe SQL Server query optimizer for a stored procedure or ad- hoc query and is a very useful tool for a developer tounderstand the performance characteristics of a query or stored procedure since the plan is the one that SQLServer will place in its cache and use to execute the stored procedure or query. From within Query Analyzer is anoption called "Show Execution Plan" (located on the Query drop-down menu). If this option is turned on it willdisplay query execution plan in separate window when query is ran again.
< Prev 1 2 3 4 5 6
© 2008-2012 by IndiaBIX™ Technologies. All Rights Reserved | Copyright | Terms of Use & Privacy Policy
Contact us: [email protected] Follow us on twitter!
SQL Server Training Access Videos, Articles and More. Join the SSWUG.ORG Community Today! www.sswug.org
Java Persistence Tools OpenJPA, Toplink, Hibernate Suppt No Lock-in, Eclipse-Based www.myeclipseide.com
Export SharePoint to SQL Live export of SharePoint lists to normalised SQL Server tables www.axioworks.com/SQList
Visual SQL to XML Easy to use Data Mapping environment. Try now! www.ecrion.com
Ads by Google
SQL ServerSQL Server ManagerSQL Server Tools
Free SQL ServerTrainingWebinars Tues &Thurs 11am EST Learnskills from the Expertspragmaticworks.com/PWFre…
Good InterviewQuestionsLooking for a CareerChange? Find Options& Opportunities forFree.www.BetterCareerSearch.com
DatabaseManagementWinSQL - AHomogeneous Solutionfor HeterogeneousEnvironment.www.synametrics.com
Go PowerDynamometersNew GPR557 EngineDynamometer DieselDynamometerswww.gopowersystems.com
Exporting?Don't forget toregister ® your TMRegister yourTrademark today!www.marcaria.com
SQL Server - Common Interview Questions and Answers Page 6
http://www.indiabix.com/technical/sql-server-common-questions/6[08/29/2012 4:08:58 PM]
Bookmark to: