.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

How do we get Current Months First Day?

Posted By :nishithraj     Posted Date :March 25, 2010    Points :10   Category :Sql Server 
SELECT CONVERT(VARCHAR(25),DATEADD(dd,-(DAY(getDate())-1),getDate()),101)

You can also find related Interview Question to How do we get Current Months First Day?  below: 

How can you reference current thread of the method ?

  
"Thread.CurrentThread" refers to the current thread running in the method."CurrentThread" is a public static property. (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...)

What is difference between System.Web.Caching.Cache and System.Web.HttpContext.Current.Cache ?

  
System.Web.Caching.Cache : Class/type used for caching
System.Web.HttoContect.Current.Cache : The instance of cache class for current HTTP context from a web request (Gets cache object from current application domain) (More...)

Which function is used to know the current active user within the host Operating System?

  
SYSTEM_USER function is used to know the current active user within the host Operating System.

SELECT SYSTEM_USER

-->Abhisek (More...)

How can we find the index of current selection in BindingSource Class?

  
Using bindingSource1.Position we can find the index of currently selected item.
Here bindingSource1 is the object of BindingSource Class. (More...)

How to reload the current page ?

  
window.location.reload(true); (More...)

How to find the current application file path while runtime?

  
System.Reflection.Assembly.GetExecutingAssembly().Location (More...)

How can you reference current thread of the method ?

  
"Thread.CurrentThread" refers to the current thread running in the
method."CurrentThread" is a public static property. (More...)

How To Get Current URL?

  
lable1.Text=Request.Url.AbsoluteUri;

(More...)

How to convert current datetime to another timezone?

  
Use class TimeZoneInfo.ConvertTime() method (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