Aug 5, 2001 #1 rmz8 Programmer Aug 24, 2000 210 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 Jul 16, 2001 386 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 Aug 24, 2000 210 US Thanks sylvano! Ryan ;-] Upvote 0 Downvote