thendal
Programmer
- Aug 23, 2000
- 284
Hi all!
How i can select a year alone from a datefield.
I tried
select * from tablename where datepart(year,datefieldname)='2000';
i got this going through some books ...but its not working
could some one help me ...
-ThanX
How i can select a year alone from a datefield.
I tried
select * from tablename where datepart(year,datefieldname)='2000';
i got this going through some books ...but its not working
could some one help me ...
-ThanX