Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 SQL Server Development (2000)
 Getting one month from a table

Author  Topic 

AskSQLTeam
Ask SQLTeam Question

0 Posts

Posted - 2001-01-28 : 23:56:36
rosam writes "I need to get all records from one month a given year. Something like this:

SELECT * FROM table
WHERE mydatemonth = record-datemonth
AND mydateyear= record-dateyear.

hope you understand this and can help me"
   

- Advertisement -