ms access - Symbol required to enter date in text strings -
i working on homework assignment school, , have come across 1 particular question has me little stumped. question is, 11. symbol access sql require enter dates in text strings? have found use of ''(single quotes), " " (double quotes), , #(pound sign), have not been able find definitive answer particular questions. correct answer?
since homework, i'll show how find answer need.
open immediate window (ctrl+g) , run both of these statements (pressing enter after each):
debug.print typename("5/2/2013") debug.print typename(#5/2/2013#)
however it's safer use yyyy/m/d format literal date values avoid locale issues ... ie 5/2/2013 represent may 2nd or feb 5th?
debug.print typename("2013/5/2") debug.print typename(#2013/5/2#)
Comments
Post a Comment