Link to home
Start Free TrialLog in
Avatar of tenriquez199
tenriquez199

asked on

Make an SQL query for the termination of a field??

Hi,

I have a date in a just one field like this 11/May/2011

but i need make a query that get all of 2011

something like this

..... where date = '...../2011'
ASKER CERTIFIED SOLUTION
Avatar of cyberkiwi
cyberkiwi
Flag of New Zealand image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
If it is a date field (instead of varchar as you have shown) then

where date >= '20110101' and date < '20120101'
Avatar of tenriquez199
tenriquez199

ASKER

Thanks