Aug 5, 2001 #1 rmz8 Programmer Joined Aug 24, 2000 Messages 210 Location US In the date format MM/DD/YY how can I make a SQL statement that only returns records with the year 01? Thanks in advance. Ryan ;-]
In the date format MM/DD/YY how can I make a SQL statement that only returns records with the year 01? Thanks in advance. Ryan ;-]
Aug 5, 2001 1 #2 Silvano Programmer Joined Jul 16, 2001 Messages 386 Location US try putting this in your query: SELECT fieldName FROM tableName WHERE dateField LIKE '%01' "%" is something like a wild card and this should return all the values that end with "01"; Upvote 0 Downvote
try putting this in your query: SELECT fieldName FROM tableName WHERE dateField LIKE '%01' "%" is something like a wild card and this should return all the values that end with "01";
Aug 5, 2001 Thread starter #3 rmz8 Programmer Joined Aug 24, 2000 Messages 210 Location US Thanks sylvano! Ryan ;-] Upvote 0 Downvote