SlideShare a Scribd company logo
SQL Server - Common Interview Questions and Answers Page 5




                                                                                                                                                                  Search




       Aptitude ?      Reasoning ?       Verbal Ability       GK      Puzzles     Programming ?   Engineering   Medical ?   Interview   Online Test

                                                                                                                                             Ads by Google
        SQL Server - Common Interview Questions and Answers
                                                                                                                                             SQL Server
       @ : Home > Technical Interview > SQL Server Common Questions > Interview Questions
                                                                                                                                             SQL Server Manager
        Database Management WinSQL - A Homogeneous Solution for Heterogeneous Environment. www.synametrics.com
                                                                                                                                             SQL Server Tools
        SQL Server Training Access Videos, Articles and More. Join the SSWUG.ORG Community Today! www.sswug.org

        Consulting Case Prep Interactive interview prep: math drills, frameworks & market-sizing www.casequestions.com
                                                                                                                                             Adaption Business
        Export SharePoint to SQL Live export of SharePoint lists to normalised SQL Server tables www.axioworks.com/SQList                    Softw.
                                                                                                                                             Makes complex
                                                                                                                                             logistics simple
                                                                                                                                             Probeer nu onze
        25. What is NOT NULL Constraint?
                                                                                                                                             software!
                                                                                                                                             www.adaption-it.nl
             A NOT NULL constraint enforces that the column will not accept null values. The not null constraints are used to
                                                                                                                                             NTBackup Made
             enforce domain integrity, as the check constraints.
                                                                                                                                             Easy
                                                                                                                                             Overcome ntbackup
                                                                                                                                             limitations Schedule
        26. How to get @@ERROR and @@ROWCOUNT at the same time?                                                                              backups easily! Free
                                                                                                                                             trial
                                                                                                                                             www.ntbackup.info
             If @@Rowcount is checked after Error checking statement then it will have 0 as the value of @@Recordcount as it
             would have been reset. And if @@Recordcount is checked before the error-checking statement then @@Error would
                                                                                                                                             Interview Tips
             get reset. To get @@error and @@rowcount at the same time do both in same statement and store them in local                     Looking for a Career
             variable.                                                                                                                       Change? Find Options
                                                                                                                                             & Opportunities for
             SELECT @RC = @@ROWCOUNT, @ER = @@ERROR                                                                                          Free.
                                                                                                                                             www.BetterCareerSearch.com


        27. What is a Scheduled Jobs or What is a Scheduled Tasks?
                                                                                                                                             Go Power
                                                                                                                                             Dynamometers
             Scheduled tasks let user automate processes that run on regular or predictable cycles. User can schedule                        New GPR557 Engine
             administrative tasks, such as cube processing, to run during times of slow business activity. User can also                     Dynamometer Diesel
             determine the order in which tasks run by creating job steps within a SQL Server Agent job. E.g. back up database,              Dynamometers
                                                                                                                                             www.gopowersystems.com
             Update Stats of Tables. Job steps give user control over flow of execution. If one job fails, user can configure SQL
             Server Agent to continue to run the remaining tasks or to stop execution.
                                                                                                                                             Display Dress
                                                                                                                                             Form
        28. What are the advantages of using Stored Procedures?                                                                              from Traditional to
                                                                                                                                             Modern Wood & Metal
                                                                                                                                             bases
                                                                                                                                             www.SuperiorModel.com
                 1.   Stored procedure can reduced network traffic and latency, boosting application performance.

                 2.   Stored procedure execution plans can be reused, staying cached in SQL Server's memory, reducing server
                      overhead.

                 3.   Stored procedures help promote code reuse.

                 4.   Stored procedures can encapsulate logic. You can change stored procedure code without affecting clients.

                 5.   Stored procedures provide better security to your data.



        29. What is a table called, if it has neither Cluster nor Non-cluster Index? What is it used for?


             Unindexed table or Heap. Microsoft Press Books and Book on Line (BOL) refers it as Heap. A heap is a table that
             does not have a clustered index and, therefore, the pages are not linked by pointers. The IAM pages are the only
             structures that link the pages in a table together. Unindexed tables are good for fast storing of data. Many times it
             is better to drop all indexes from table and then do bulk of inserts and to restore those indexes after that.



        30. Can SQL Servers linked to other servers like Oracle?


             SQL Server can be linked to any server provided it has OLE-DB provider from Microsoft to allow a link. E.g. Oracle
             has an OLE-DB provider for oracle that Microsoft provides to add it as linked server to SQL Server group.




http://www.indiabix.com/technical/sql-server-common-questions/5[08/29/2012 4:08:33 PM]
SQL Server - Common Interview Questions and Answers Page 5


        < Prev 1      2    3    4   5    6   Next >




                          Data Masking Software
               Secure your sensitive data with Grid-Tools'
                        Enterprise Data Masking
                          www.grid-tools.com




                                        © 2008-2012 by IndiaBIX™ Technologies. All Rights Reserved | Copyright | Terms of Use & Privacy Policy


                                                              Contact us: info@indiabix.com        Follow us on twitter!


                                                                            Bookmark to:




http://www.indiabix.com/technical/sql-server-common-questions/5[08/29/2012 4:08:33 PM]

More Related Content

PDF
Sql server – query optimization – remove bookmark lookup – remove rid lookup
PDF
Replication Tips & Trick for SMUG
PPTX
Abap course chapter 6 specialities for erp software
PDF
Replication Tips & Tricks
PDF
GlassFish REST Administration Backend
PPTX
Abap course chapter 3 basic concepts
DOC
Sql dba jd
PPT
Sql interview question part 8
Sql server – query optimization – remove bookmark lookup – remove rid lookup
Replication Tips & Trick for SMUG
Abap course chapter 6 specialities for erp software
Replication Tips & Tricks
GlassFish REST Administration Backend
Abap course chapter 3 basic concepts
Sql dba jd
Sql interview question part 8

Viewers also liked (11)

DOC
A must Sql notes for beginners
DOC
Best sql plsql material
PDF
Top 100 SQL Interview Questions and Answers
PDF
10 sql tips to speed up your database cats whocode.com
PDF
Speeding up queries with semi joins and anti-joins
PDF
Speed up sql
PDF
See sql server graphical execution plans in action tech republic
PDF
Using grouping sets in sql server 2008 tech republic
PDF
Speed up sql server apps - visual studio magazine
PDF
Using hash fields in sql server tech republic
PDF
Using object dependencies in sql server 2008 tech republic
A must Sql notes for beginners
Best sql plsql material
Top 100 SQL Interview Questions and Answers
10 sql tips to speed up your database cats whocode.com
Speeding up queries with semi joins and anti-joins
Speed up sql
See sql server graphical execution plans in action tech republic
Using grouping sets in sql server 2008 tech republic
Speed up sql server apps - visual studio magazine
Using hash fields in sql server tech republic
Using object dependencies in sql server 2008 tech republic
Ad

Similar to Sql server common interview questions and answers page 5 (20)

PDF
Sql server common interview questions and answers page 6
PDF
15 ways to optimize your sql queries hungred dot com
PDF
Sql Performance Tuning For Developers
PDF
Sql server common interview questions and answers
PDF
Execution plan basics
PDF
San Francisco and Silicon Valley SQL Server User Groups
PDF
SQL Server User Group 02/2009
PDF
Databse & Technology 2 | Connor McDonald | Managing Optimiser Statistics - A ...
PDF
Sql server common interview questions and answers page 4
PDF
Fun with SQL
PDF
Improving Performance with Better Indexes
PPT
Db trends final
PDF
SQL Server 2008 Migration Workshop 04/29/2009
PDF
SQL Server Workshop Paul Bertucci
PDF
Advanced Oracle Troubleshooting
PPTX
Microsoft Breakthrough Insights
DOC
Business Intelligence Portfolio
DOCX
Sql Ssis Ssrs Developer Resume
PDF
Microsoft SQL Server - How to Collaboratively Manage Excel Data
PDF
Oracle Optimized Datacenter - Storage
Sql server common interview questions and answers page 6
15 ways to optimize your sql queries hungred dot com
Sql Performance Tuning For Developers
Sql server common interview questions and answers
Execution plan basics
San Francisco and Silicon Valley SQL Server User Groups
SQL Server User Group 02/2009
Databse & Technology 2 | Connor McDonald | Managing Optimiser Statistics - A ...
Sql server common interview questions and answers page 4
Fun with SQL
Improving Performance with Better Indexes
Db trends final
SQL Server 2008 Migration Workshop 04/29/2009
SQL Server Workshop Paul Bertucci
Advanced Oracle Troubleshooting
Microsoft Breakthrough Insights
Business Intelligence Portfolio
Sql Ssis Ssrs Developer Resume
Microsoft SQL Server - How to Collaboratively Manage Excel Data
Oracle Optimized Datacenter - Storage
Ad

More from Kaing Menglieng (19)

PDF
What is your sql server backup strategy tech_republic
PDF
Using sql server 2008's merge statement tech republic
PDF
Understand when to use user defined functions in sql server tech-republic
PDF
Sql server indexed views speed up your select queries part 1 - code-projec
PDF
Sql server common interview questions and answers page 2
PDF
Sql server – 2008 – hardware and software requirements for installing sql se
PDF
Reviewing sql server permissions tech republic
PDF
Query optimization how to search millions of record in sql table faster -
PDF
Optimize sql server queries with these advanced tuning techniques tech repu
PDF
New date datatypes in sql server 2008 tech republic
PDF
Introduction to policy based management in sql server 2008 tech-republic
PDF
Introduction to change data capture in sql server 2008 tech republic
PDF
How to import an excel file into sql server 2005 using integration services
PDF
How do i... reseed a sql server identity column tech_republic
PDF
How do i... query foreign data using sql server's linked servers tech_repu
PDF
Help! my sql server log file is too big!!! tech republic
PDF
Get database properties using power shell in sql server 2008 techrepublic
PDF
Generate a report using crystal reports in visual studio 2010 code project
PDF
Filtered indexes in sql server 2008 tech republic
What is your sql server backup strategy tech_republic
Using sql server 2008's merge statement tech republic
Understand when to use user defined functions in sql server tech-republic
Sql server indexed views speed up your select queries part 1 - code-projec
Sql server common interview questions and answers page 2
Sql server – 2008 – hardware and software requirements for installing sql se
Reviewing sql server permissions tech republic
Query optimization how to search millions of record in sql table faster -
Optimize sql server queries with these advanced tuning techniques tech repu
New date datatypes in sql server 2008 tech republic
Introduction to policy based management in sql server 2008 tech-republic
Introduction to change data capture in sql server 2008 tech republic
How to import an excel file into sql server 2005 using integration services
How do i... reseed a sql server identity column tech_republic
How do i... query foreign data using sql server's linked servers tech_repu
Help! my sql server log file is too big!!! tech republic
Get database properties using power shell in sql server 2008 techrepublic
Generate a report using crystal reports in visual studio 2010 code project
Filtered indexes in sql server 2008 tech republic

Sql server common interview questions and answers page 5

  • 1. SQL Server - Common Interview Questions and Answers Page 5 Search Aptitude ? Reasoning ? Verbal Ability GK Puzzles Programming ? Engineering Medical ? Interview Online Test Ads by Google SQL Server - Common Interview Questions and Answers SQL Server @ : Home > Technical Interview > SQL Server Common Questions > Interview Questions SQL Server Manager Database Management WinSQL - A Homogeneous Solution for Heterogeneous Environment. www.synametrics.com SQL Server Tools SQL Server Training Access Videos, Articles and More. Join the SSWUG.ORG Community Today! www.sswug.org Consulting Case Prep Interactive interview prep: math drills, frameworks & market-sizing www.casequestions.com Adaption Business Export SharePoint to SQL Live export of SharePoint lists to normalised SQL Server tables www.axioworks.com/SQList Softw. Makes complex logistics simple Probeer nu onze 25. What is NOT NULL Constraint? software! www.adaption-it.nl A NOT NULL constraint enforces that the column will not accept null values. The not null constraints are used to NTBackup Made enforce domain integrity, as the check constraints. Easy Overcome ntbackup limitations Schedule 26. How to get @@ERROR and @@ROWCOUNT at the same time? backups easily! Free trial www.ntbackup.info If @@Rowcount is checked after Error checking statement then it will have 0 as the value of @@Recordcount as it would have been reset. And if @@Recordcount is checked before the error-checking statement then @@Error would Interview Tips get reset. To get @@error and @@rowcount at the same time do both in same statement and store them in local Looking for a Career variable. Change? Find Options & Opportunities for SELECT @RC = @@ROWCOUNT, @ER = @@ERROR Free. www.BetterCareerSearch.com 27. What is a Scheduled Jobs or What is a Scheduled Tasks? Go Power Dynamometers Scheduled tasks let user automate processes that run on regular or predictable cycles. User can schedule New GPR557 Engine administrative tasks, such as cube processing, to run during times of slow business activity. User can also Dynamometer Diesel determine the order in which tasks run by creating job steps within a SQL Server Agent job. E.g. back up database, Dynamometers www.gopowersystems.com Update Stats of Tables. Job steps give user control over flow of execution. If one job fails, user can configure SQL Server Agent to continue to run the remaining tasks or to stop execution. Display Dress Form 28. What are the advantages of using Stored Procedures? from Traditional to Modern Wood & Metal bases www.SuperiorModel.com 1. Stored procedure can reduced network traffic and latency, boosting application performance. 2. Stored procedure execution plans can be reused, staying cached in SQL Server's memory, reducing server overhead. 3. Stored procedures help promote code reuse. 4. Stored procedures can encapsulate logic. You can change stored procedure code without affecting clients. 5. Stored procedures provide better security to your data. 29. What is a table called, if it has neither Cluster nor Non-cluster Index? What is it used for? Unindexed table or Heap. Microsoft Press Books and Book on Line (BOL) refers it as Heap. A heap is a table that does not have a clustered index and, therefore, the pages are not linked by pointers. The IAM pages are the only structures that link the pages in a table together. Unindexed tables are good for fast storing of data. Many times it is better to drop all indexes from table and then do bulk of inserts and to restore those indexes after that. 30. Can SQL Servers linked to other servers like Oracle? SQL Server can be linked to any server provided it has OLE-DB provider from Microsoft to allow a link. E.g. Oracle has an OLE-DB provider for oracle that Microsoft provides to add it as linked server to SQL Server group. http://www.indiabix.com/technical/sql-server-common-questions/5[08/29/2012 4:08:33 PM]
  • 2. SQL Server - Common Interview Questions and Answers Page 5 < Prev 1 2 3 4 5 6 Next > Data Masking Software Secure your sensitive data with Grid-Tools' Enterprise Data Masking www.grid-tools.com © 2008-2012 by IndiaBIX™ Technologies. All Rights Reserved | Copyright | Terms of Use & Privacy Policy Contact us: info@indiabix.com Follow us on twitter! Bookmark to: http://www.indiabix.com/technical/sql-server-common-questions/5[08/29/2012 4:08:33 PM]