.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
 
Sign In
Register
 
Win Surprise Gifts!!!
Congratulations!!!


Top 5 Contributors of the Month
david stephan

Home >> Interview Question >> Sql Server >> Post New Question Subscribe to Interview Questions

You are creating a SQL Server 2005 database for a mortgage company. The database will support a new Web-based application that will handle up to 1,000 simultaneous users.This application must quickly display the results of calculation-intensive operations, such
as calculating mortgage payments and amortization schedules. You need to ensure that the database processes calculations as quickly and efficiently as possible. What should you do?

A. Implement parameterized Transact-SQL queries in the application.
B. Implement Transact-SQL stored procedures in the database.
C. Implement CLR stored procedures in the database.
D. Implement distributed Web services.

Posted By :Gowthammanju     Posted Date :June 09, 2011    Points :40   Category :Sql Server 
Answer: C

Explanation: A Common Language Runtime (CLR) will generally perform better
than T-SQL and CRUD (Create, Read, Update, Delete) operations for complex
math, string manipulation and other tasks that go beyond data access.

You can also find related Interview Question to You are creating a SQL Server 2005 database for a mortgage company. The database will support a new Web-based application that will handle up to 1,000 simultaneous users.This application must quickly display the results of calculation-intensive operations, such as calculating mortgage payments and amortization schedules. You need to ensure that the database processes calculations as quickly and efficiently as possible. What should you do? A. Implement parameterized Transact-SQL queries in the application. B. Implement Transact-SQL stored procedures in the database. C. Implement CLR stored procedures in the database. D. Implement distributed Web services.  below: 

Database: Is recursion is posible in Sql server stored procedure

  

Yes, Stored procedure in sql server can call itself. (More...)

You are creating a database on multiple disks that will be queried intensively by users. What are some steps that you can take to improve performance and avoid disk contention?

  
You could use disk striping (RAID) to increase performance.

A secondary strategy would be to use filegroups to improve performance, especially placing the transaction log file(s) on a separate disk from the data file(s) to avoid disk contention as SQL Server queries the database and records actions in the log. Also, filegroups could be used to separate a portion of the data files requiring frequent backups because they are actively modified.
(More...)

Database: Define Stored Procedure

  
.A stored proceduer is a named group of sql statements that have been previously created and stored in server database. (More...)

Database: What are the benefit of using Stored Procedure?

  

.Reduces network traffic
.Improve performance
.Helps to ensure integrity of database
.Once modified, available to all clients (More...)

Database: State whether Trigger is a stored procedure or not?

  
.Yes, It is a Stored procedure that initiates an action when an event occurs. (More...)

Database: Difference between stored procedure and trigger?

  
.Stored procedure are called explicitly where as trigger are called implicitly.
.Stored procedure are not attached to specific table where as triggers are attached to specific table.
.Stored procedure are called by invoking a CALL to it where this does not applies in case of trigger.


(More...)

Database: Difference between Function and stored procedure?

  

Function can be used in sql statements anywhere in where/select/having etc. where as stored procedure cannot be.
(More...)

Database Concurrency in Sql Server.

  
When two or more user try to update same type of data in a table then Database Concurrency helps in this situation.

There are 2 types of Database Concurrency

Pessimistic: When one user try to change the data with pessimistic concurrency then a lock is placed on the data in a table so that another user cannot change data. when one user finishes then other user can able to change.

Optimistic: When two user works on the same data in a table and one change that data first then second user cannot change that same data becasue the which he have using is allready changed so he cannot do the change becasue change apply to another data that is changed by first user. (More...)

Name of the command to view the current amount of free (unallocated) space in the database in SQL Server?

  
Name of command is :sp_spaceused

This command displays the database_size in MB, and it's also shows unallocated space for the database. (More...)

Let us say the SQL Server crashed and you are rebuilding the databases including the master database what procedure to you follow?

  
For restoring the master db we have to stop the SQL Server first and then from command line we can type SQLSERVER -m which will basically bring it into the maintenance mode after which we can restore the master db. (More...)

Quick Links For Interview Questions Categories:
ASP.Net Windows Application   .NET Framework   C#   VB.Net   ADO.Net  
Sql Server   SharePoint   Silverlight   OOPs   JQuery   JavaScript/VBScript
Biztalk Patten/Practices .IIS WCF WPF WWF
Networking Aptitude Others   All      

Find questions, FAQ's and their answers related to .NET, C#, Vb.Net, Sql Server and many more.

 
Now you can find lots of .NET, C#, Vb.Net, SQL Server,Windows, ASP.Net related Questions and their Answers here at www.dotnetspark.com. Our aim is to help you pass your certification Exams (MCP, MCSD, MCAD etc.,) with flying scores and get good name in your company.

So, Start looking our Interview Question section daily and improve your .NET Skills. You can also help others by posting Interview Questions and their Answers in this section.


Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend