{"id":14,"date":"2011-05-17T14:07:02","date_gmt":"2011-05-17T08:37:02","guid":{"rendered":"http:\/\/pramodsingla.wordpress.com\/?p=14"},"modified":"2011-05-17T14:07:02","modified_gmt":"2011-05-17T08:37:02","slug":"sql-server-2008-interview-questions","status":"publish","type":"post","link":"https:\/\/pramodsingla.com\/?p=14","title":{"rendered":"SQL Server-Interview Questions"},"content":{"rendered":"<h3><span style=\"text-decoration:underline;color:#ff0000;\"><strong>RDBMS:<\/strong><\/span><\/h3>\n<ol>\n<li>What is normalization and what are its pros and cons?<\/li>\n<li>What is demoralization and what are its pros and cons?<\/li>\n<li>What are ACID properties and how SQL server is maintaining these?<\/li>\n<li>What are DML and DDL commands?<\/li>\n<li>What is difference between a view and a table?<\/li>\n<li>What are synonyms?<\/li>\n<\/ol>\n<h3><span style=\"color:#ff0000;\"><strong><u>Developer:<\/u><\/strong><\/span><\/h3>\n<ol>\n<li>What is the difference between index rebuilding vs index reorganizing and in which scenarios each can be\u00a0used?<\/li>\n<li>What is the default transaction isolation level used in SQL server?<\/li>\n<li>What is the difference between user and login?<\/li>\n<li>What \u00a0all permissions are required\u00a0to execute scalar UDF and table valued UDF ?<\/li>\n<li>Where does the full text catalog created in the SQL server 2008?<\/li>\n<li>How to rename a table column?<\/li>\n<li>What is the difference between coalesce and isnull functions?<\/li>\n<li>What is the difference sp_executesql and exec?<\/li>\n<li>What are magic tables?<\/li>\n<li>How can you delete duplicate records from a table?<\/li>\n<li>How to find the third highest salary for an employee?<strong><a href=\"https:\/\/pramodsingla.com\/2014\/08\/15\/sql-server-find-nth-highest-salary\/\" target=\"_blank\" rel=\"noopener\">Ans<\/a><\/strong><\/li>\n<li>Which all\u00a0recovery models are available in SQL Server?<\/li>\n<li>List all system DBs with their usage.<\/li>\n<li>What are the different isolations in SQL server and what&#8217;s the difference between them?<\/li>\n<li>What is the difference between intersect v\/s except?<\/li>\n<li>Temp Table vs Temp variables.<\/li>\n<li>What is CTE?<\/li>\n<li>What will happen if rollback is executed\u00a0in innermost transaction?<\/li>\n<li>What will happen if commit is executed\u00a0in innermost transaction?<\/li>\n<li>What is OUTPUT clause in TSQL?<\/li>\n<li>What is the max size of varchar(max)?<\/li>\n<li>What is fill factor and how it is important?<\/li>\n<li>List few\u00a0of \u00a0DMVs with\u00a0their usage.<\/li>\n<li>What is difference between delete and truncate?<\/li>\n<li>What is sparse column and how is it useful?<\/li>\n<li>By default SQL server listens on which port?<\/li>\n<li>What is a heap?<\/li>\n<li>What is the difference between clustered and nonclustered indexes?<\/li>\n<li>What&#8217;s the latest version of SQL server?<\/li>\n<li>What&#8217;s row level compression and the page level compression?<\/li>\n<\/ol>\n<h3><span style=\"text-decoration:underline;color:#ff0000;\"><strong>DBA:<\/strong><\/span><\/h3>\n<ol>\n<li>Can you take transnational or differential backup of master database?<\/li>\n<li>How to start SQL Server single user mode and when do you need it?<\/li>\n<li>What&#8217;s the use of browser service?<\/li>\n<li>How to make DAC connection?<strong><a href=\"https:\/\/technet.microsoft.com\/en-us\/library\/ms178068(v=sql.105).aspx\" target=\"_blank\" rel=\"noopener\">Ans<\/a><\/strong><\/li>\n<li>What is the difference between index rebuilding and index reorganizing and in which scenario these can be\u00a0used?<\/li>\n<li>What are the filtered\u00a0indexes and why are they useful in some scenarios?<\/li>\n<li>What is a covering index?<\/li>\n<li>What can cause an index scan instead of index seek?<\/li>\n<li>Which port does DAC use?<\/li>\n<li>What all type of backups are available in SQL Server?<\/li>\n<li>What will you do to improve the performance of the tempdb?<\/li>\n<li>What is snapshot isolation level and what are its pros and cons?<\/li>\n<li>What will you do if log-files are over growing?<\/li>\n<li>Find the running queries and the resources it is waiting on.<\/li>\n<li>What are VLFs and why are they important to watch?<\/li>\n<li>How to find a backup is valid without restoring it?<\/li>\n<li>How exactly does SQL server cater a SELECT\u00a0Query?<\/li>\n<li>How exactly does SQL server cater an UPDATE\u00a0query?<\/li>\n<li>What is TDE and how you can set it up?<\/li>\n<li>What type of indexes are available in SQL server?<\/li>\n<\/ol>\n<h3><span style=\"text-decoration:underline;color:#ff0000;\"><strong>\u00a0ETL\/SSIS:<\/strong><\/span><\/h3>\n<ol>\n<li>What is difference between Control flow and Data Flow Engine?<\/li>\n<li>List the ways of deployment available in SSIS 2012?<\/li>\n<li>How to configure checkpoint in SSIS?<\/li>\n<li>How to debug a SSIS package?<\/li>\n<li>What&#8217;s new in SQL server 2012?<\/li>\n<li>What is fast parse?<\/li>\n<li>List 5 ways to speed up your SSIS package.<\/li>\n<li>List the ways you can execute a SSIS package.<\/li>\n<li>If you want to delete duplicate records that what option would you use in SSIS?<\/li>\n<li>Explain SCD task and its working.<\/li>\n<li>Explain Lookup task.<\/li>\n<li>Explain SCD type 1,2 and 3.<\/li>\n<li>How you would handle errors in SSIS?<\/li>\n<li>How to check the execution status of \u00a0a SSIS package,deployed in SSISDB, using system tables.<strong><a href=\"https:\/\/pramodsingla.com\/2015\/11\/27\/ssis-2012-ssisdb-check-execution-status-of-ssis-package\/\" target=\"_blank\" rel=\"noopener\">Ans<\/a><\/strong><\/li>\n<li>What is factless table?<\/li>\n<li>What is\u00a0the\u00a0difference between dimension table and fact table?<\/li>\n<li>What is the\u00a0difference between star and snowflake\u00a0schema?<\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"<p>RDBMS: What is normalization and what are its pros and cons? What is demoralization and what are its pros and[&#8230;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"_mi_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0},"categories":[17,29],"tags":[102,103,161,162,174],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/pramodsingla.com\/index.php?rest_route=\/wp\/v2\/posts\/14"}],"collection":[{"href":"https:\/\/pramodsingla.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/pramodsingla.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/pramodsingla.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/pramodsingla.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=14"}],"version-history":[{"count":0,"href":"https:\/\/pramodsingla.com\/index.php?rest_route=\/wp\/v2\/posts\/14\/revisions"}],"wp:attachment":[{"href":"https:\/\/pramodsingla.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=14"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/pramodsingla.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=14"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/pramodsingla.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=14"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}