SlideShare une entreprise Scribd logo
1  sur  2
Télécharger pour lire hors ligne
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]

Contenu connexe

En vedette

A must Sql notes for beginners
A must Sql notes for beginnersA must Sql notes for beginners
A must Sql notes for beginnersRam Sagar Mourya
 
Top 100 SQL Interview Questions and Answers
Top 100 SQL Interview Questions and AnswersTop 100 SQL Interview Questions and Answers
Top 100 SQL Interview Questions and Answersiimjobs and hirist
 
10 sql tips to speed up your database cats whocode.com
10 sql tips to speed up your database   cats whocode.com10 sql tips to speed up your database   cats whocode.com
10 sql tips to speed up your database cats whocode.comKaing Menglieng
 
Speeding up queries with semi joins and anti-joins
Speeding up queries with semi joins and anti-joinsSpeeding up queries with semi joins and anti-joins
Speeding up queries with semi joins and anti-joinsKaing Menglieng
 
See sql server graphical execution plans in action tech republic
See sql server graphical execution plans in action   tech republicSee sql server graphical execution plans in action   tech republic
See sql server graphical execution plans in action tech republicKaing Menglieng
 
Using grouping sets in sql server 2008 tech republic
Using grouping sets in sql server 2008   tech republicUsing grouping sets in sql server 2008   tech republic
Using grouping sets in sql server 2008 tech republicKaing Menglieng
 
Speed up sql server apps - visual studio magazine
Speed up sql server apps  - visual studio magazineSpeed up sql server apps  - visual studio magazine
Speed up sql server apps - visual studio magazineKaing Menglieng
 
Using hash fields in sql server tech republic
Using hash fields in sql server   tech republicUsing hash fields in sql server   tech republic
Using hash fields in sql server tech republicKaing Menglieng
 
Using object dependencies in sql server 2008 tech republic
Using object dependencies in sql server 2008   tech republicUsing object dependencies in sql server 2008   tech republic
Using object dependencies in sql server 2008 tech republicKaing Menglieng
 

En vedette (11)

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

Similaire à Sql server common interview questions and answers page 5

Sql server common interview questions and answers page 6
Sql server   common interview questions and answers page 6Sql server   common interview questions and answers page 6
Sql server common interview questions and answers page 6Kaing Menglieng
 
15 ways to optimize your sql queries hungred dot com
15 ways to optimize your sql queries   hungred dot com15 ways to optimize your sql queries   hungred dot com
15 ways to optimize your sql queries hungred dot comKaing Menglieng
 
Improving Performance with Better Indexes
Improving Performance with Better IndexesImproving Performance with Better Indexes
Improving Performance with Better IndexesMYXPLAIN
 
ODTUG_NoPlsql_vs_SmartDB_Part1_and_2.pptx
ODTUG_NoPlsql_vs_SmartDB_Part1_and_2.pptxODTUG_NoPlsql_vs_SmartDB_Part1_and_2.pptx
ODTUG_NoPlsql_vs_SmartDB_Part1_and_2.pptxToon Koppelaars
 
Programmatic queries: things you can code with sql
Programmatic queries: things you can code with sqlProgrammatic queries: things you can code with sql
Programmatic queries: things you can code with sqlShlomi Noach
 
High performance database applications with pure query and ibm data studio.ba...
High performance database applications with pure query and ibm data studio.ba...High performance database applications with pure query and ibm data studio.ba...
High performance database applications with pure query and ibm data studio.ba...Vladimir Bacvanski, PhD
 
Java j2 ee job interview companion k.arulkumaran
Java j2 ee job interview companion   k.arulkumaranJava j2 ee job interview companion   k.arulkumaran
Java j2 ee job interview companion k.arulkumaranRama Krishnan L
 
Lessons Learned in Software Development: QA Infrastructure – Maintaining Rob...
Lessons Learned in Software Development: QA Infrastructure – Maintaining Rob...Lessons Learned in Software Development: QA Infrastructure – Maintaining Rob...
Lessons Learned in Software Development: QA Infrastructure – Maintaining Rob...Cωνσtantίnoς Giannoulis
 
PL/SQL Development
PL/SQL DevelopmentPL/SQL Development
PL/SQL DevelopmentThanh Nguyen
 
Revolutionizing the Data Abstraction Layer with IBM Optim pureQuery and DB2
Revolutionizing the Data Abstraction Layer with IBM Optim pureQuery and DB2Revolutionizing the Data Abstraction Layer with IBM Optim pureQuery and DB2
Revolutionizing the Data Abstraction Layer with IBM Optim pureQuery and DB2Vladimir Bacvanski, PhD
 
Oreilly Webcast Jan 09, 2009
Oreilly Webcast Jan 09, 2009Oreilly Webcast Jan 09, 2009
Oreilly Webcast Jan 09, 2009Sean Hull
 
Sql server common interview questions and answers page 4
Sql server   common interview questions and answers page 4Sql server   common interview questions and answers page 4
Sql server common interview questions and answers page 4Kaing Menglieng
 
Stress Your Web App Before It Stresses You: Tools and Techniques for Extreme ...
Stress Your Web App Before It Stresses You: Tools and Techniques for Extreme ...Stress Your Web App Before It Stresses You: Tools and Techniques for Extreme ...
Stress Your Web App Before It Stresses You: Tools and Techniques for Extreme ...elliando dias
 
Amol_Koshti_04May16
Amol_Koshti_04May16Amol_Koshti_04May16
Amol_Koshti_04May16Amol Koshti
 
Sql injection whitepaper
Sql injection whitepaperSql injection whitepaper
Sql injection whitepaperManish Godawat
 

Similaire à Sql server common interview questions and answers page 5 (20)

Sql server common interview questions and answers page 6
Sql server   common interview questions and answers page 6Sql server   common interview questions and answers page 6
Sql server common interview questions and answers page 6
 
15 ways to optimize your sql queries hungred dot com
15 ways to optimize your sql queries   hungred dot com15 ways to optimize your sql queries   hungred dot com
15 ways to optimize your sql queries hungred dot com
 
Improving Performance with Better Indexes
Improving Performance with Better IndexesImproving Performance with Better Indexes
Improving Performance with Better Indexes
 
ODTUG_NoPlsql_vs_SmartDB_Part1_and_2.pptx
ODTUG_NoPlsql_vs_SmartDB_Part1_and_2.pptxODTUG_NoPlsql_vs_SmartDB_Part1_and_2.pptx
ODTUG_NoPlsql_vs_SmartDB_Part1_and_2.pptx
 
Programmatic queries: things you can code with sql
Programmatic queries: things you can code with sqlProgrammatic queries: things you can code with sql
Programmatic queries: things you can code with sql
 
Oracle sql demo
Oracle sql demoOracle sql demo
Oracle sql demo
 
High performance database applications with pure query and ibm data studio.ba...
High performance database applications with pure query and ibm data studio.ba...High performance database applications with pure query and ibm data studio.ba...
High performance database applications with pure query and ibm data studio.ba...
 
JavaFAQS
JavaFAQSJavaFAQS
JavaFAQS
 
Java j2 ee job interview companion k.arulkumaran
Java j2 ee job interview companion   k.arulkumaranJava j2 ee job interview companion   k.arulkumaran
Java j2 ee job interview companion k.arulkumaran
 
Lessons Learned in Software Development: QA Infrastructure – Maintaining Rob...
Lessons Learned in Software Development: QA Infrastructure – Maintaining Rob...Lessons Learned in Software Development: QA Infrastructure – Maintaining Rob...
Lessons Learned in Software Development: QA Infrastructure – Maintaining Rob...
 
PL/SQL Development
PL/SQL DevelopmentPL/SQL Development
PL/SQL Development
 
Revolutionizing the Data Abstraction Layer with IBM Optim pureQuery and DB2
Revolutionizing the Data Abstraction Layer with IBM Optim pureQuery and DB2Revolutionizing the Data Abstraction Layer with IBM Optim pureQuery and DB2
Revolutionizing the Data Abstraction Layer with IBM Optim pureQuery and DB2
 
XStudio
XStudioXStudio
XStudio
 
Oreilly Webcast Jan 09, 2009
Oreilly Webcast Jan 09, 2009Oreilly Webcast Jan 09, 2009
Oreilly Webcast Jan 09, 2009
 
Sql server common interview questions and answers page 4
Sql server   common interview questions and answers page 4Sql server   common interview questions and answers page 4
Sql server common interview questions and answers page 4
 
Stress Your Web App Before It Stresses You: Tools and Techniques for Extreme ...
Stress Your Web App Before It Stresses You: Tools and Techniques for Extreme ...Stress Your Web App Before It Stresses You: Tools and Techniques for Extreme ...
Stress Your Web App Before It Stresses You: Tools and Techniques for Extreme ...
 
Amol_Koshti_04May16
Amol_Koshti_04May16Amol_Koshti_04May16
Amol_Koshti_04May16
 
Ppt chapter06
Ppt chapter06Ppt chapter06
Ppt chapter06
 
Web 2.0 Development with IBM DB2
Web 2.0 Development with IBM DB2Web 2.0 Development with IBM DB2
Web 2.0 Development with IBM DB2
 
Sql injection whitepaper
Sql injection whitepaperSql injection whitepaper
Sql injection whitepaper
 

Plus de Kaing Menglieng

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

Plus de Kaing Menglieng (20)

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