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

Popular posts from this blog

linux - Does gcc have any options to add version info in ELF binary file? -

android - send complex objects as post php java -

charts - What graph/dashboard product is facebook using in Dashboard: PUE & WUE -