webForumDet fria alternativet

extract(Hours

1 svar · 125 visningar · startad av firstchoice

firstchoiceMedlem sedan okt. 2001615 inlägg
#1

varför fungerar det inte med "Hour" ?

Select COUNT(*) AS DAYCOUNT From tbllog where extract(year from logcreationdate) = " & year & " and extract(Month from logCreationDate) = " & month & " and extract(Day from logCreationDate) = " & day & " and extract(Hours from logCreationDate) = " & Hour(Now)
firstchoiceMedlem sedan okt. 2001615 inlägg
#2

jag skall nog hålla tyst :)
kan vara bra att kolla stavningen
extract(Hours from logCreationDate) = " & Hour(Now)

skall ju bara vara Hour *oops*

131 ms totalt · 3 externa anrop · v20260731065814-full.16f3d68c
0 ms — hämta forumlista (cache)
0 ms — hämta statistik (cache)
127 ms — hämta tråd, inlägg och bilagor (db)