Selecting records with specific month and year in SQL Server 2005
Posted
by
John
on Stack Overflow
See other posts from Stack Overflow
or by John
Published on 2011-03-19T16:00:11Z
Indexed on
2011/03/19
16:10 UTC
Read the original article
Hit count: 209
I want to list records with a particular month and year. The table name is 'Arrival' and 'date' is the field that stores the date that the record was added. This is to be done from a C# application. For example, if the user selects month as 'April' and year as '2009' in the application, it will list all the records that were added on April,2009. (I only need the query, hope I can figure out the rest :) )
© Stack Overflow or respective owner