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

Top 5 Contributors of the Month
Gaurav Pal

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

In DATE format SQLSERVER 2005 first reads the

Posted By :Syed Shakeer Hussain     Posted Date :November 29, 2009    Points :10   Category :Sql Server 
day,month and year

You can also find related Interview Question to In DATE format SQLSERVER 2005 first reads the  below: 

what is the use of ISNULL in sqlserver-2005?

It is the expression to be checked for NULL. check_expression can be of any type

For More details please follow this link:

http://msdn.microsoft.com/en-us/library/ms184325.aspx (More...)

Should validation (did the user enter a real date) occur server-side or client-side? Why?

Validation will be done in both sides i.e., at the server side and client side. Server side validation will be done even though client side validation performed on the code because of proper
security reasons. (More...)

What is the command name to shrink the data file and log file size in SQL server 2005?

The command name is : DBCC SHRINKDATABASE (Database Name)

This command will shrink the data file and log file size. With this command you can specify that how much percentage space you want to free.

dbcc shrinkdatabase (TempDAabase,10)

This command will free only 10% space. (More...)

What is the name of command in sql server 2005 which is used to kill any process?

The command name is kill.

Syntax is below:

Kill [Process ID] (More...)

How to Find Number of Days for provided date range?

Code extract :

TimeSpan DayDifference = Convert.ToDateTime("2009-1-7").Subtract(Convert.ToDateTime("2009-1-1"));

To find the difference of the days, here we have used Subtract method. The Subtract method does not take start date into consideration. Hence, to get the exact number of days for the date range we need to add one more day to the result.

Response.Write("Number of Days : " + DayDifference.Days+1); (More...)

is it possible to add APP_Code folder in web application project in Visual Studio 2005 or later?

No. It's not possible. Web application project does not allow users to add app_code folder where website project does. (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