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

Top 5 Contributors of the Month

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

How we can specify the first day of the week?

Posted By :Lakhan Pal Garg     Posted Date :May 03, 2010    Points :10   Category :Sql Server 
Using Set DateFirst we can specify the first day of week. synatx for this is as:


it means monday is the first day of the week.

You can also find related Interview Question to How we can specify the first day of the week?  below: 

How to get the value of first day of the week?

using SELECT @@DATEFIRST we can get the value of first day of the week.
if it will return 1 then it means Monday is the first day but if it returns 7 then that means Sunday is the first day. (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