This will extract records in sept.:Originally Posted by hsteo
Also the solution that davide++ mentioned will work.Code:SELECT vessel, voyage FROM dneirout WHERE DATEDIFF(month,CONTAINER_OUT_DATE,'20070901')=0
| CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | VB Forums | Developer.com |
|
Results 1 to 6 of 6
Threaded View
|
Click Here to Expand Forum to Full Width |