Click here to Skip to main content
15,911,848 members
Home / Discussions / Database
   

Database

 
GeneralRe: Selecting Last Row of a Table Pin
Member 5569024-Aug-05 2:19
Member 5569024-Aug-05 2:19 
GeneralRe: Selecting Last Row of a Table Pin
Mandar Patankar4-Aug-05 8:33
Mandar Patankar4-Aug-05 8:33 
GeneralSelecting Last Row of a Table Pin
Hassanur3-Aug-05 20:50
Hassanur3-Aug-05 20:50 
GeneralRe: Selecting Last Row of a Table Pin
4-Aug-05 20:01
suss4-Aug-05 20:01 
GeneralStoring Different Language Data Pin
Anonymous3-Aug-05 19:00
Anonymous3-Aug-05 19:00 
GeneralRe: Storing Different Language Data Pin
Rob Graham4-Aug-05 4:39
Rob Graham4-Aug-05 4:39 
GeneralQuery Access db where date/time ... Pin
Laffis3-Aug-05 8:23
Laffis3-Aug-05 8:23 
GeneralRe: Query Access db where date/time ... Pin
Rob Graham3-Aug-05 9:07
Rob Graham3-Aug-05 9:07 
Since the date is stored with high precision (i would guess as a function of the exact time the entry was made, like Now()), a general date query is likely to have many misses (the hh:mm:ss parts may get defaulted to 00 and cause a candidate to fail the equality match). I would use a range query instead, (i.e Between "XXX - 12H" and 'XXX + 12h', or present a selection list of candidate dates queried from the database. The string format of the date is also dependant on the locale setting of the computer running you app, so using the general date format is risky dd/mm/yy works for some locales, others expect mm/dd/yy. I would format the date using th 'odbc canonical' format which is locale immune:
"XXXX" = "{ts 'yyyy-MM-dd HH:mm:ss'}".

Even better, use a parameterized query and pass the date value(s) as a parameter of type OLEDATE.

You should also be aware that Access stores the dates as local time relative to the zero date , so changing the time zone can cause the dates to appear differently in different time zones...


Absolute faith corrupts as absolutely as absolute power
Eric Hoffer

All that is necessary for the triumph of evil is that good men do nothing.
Edmund Burke

Generaltracking actions in sql Pin
WetRivrRat3-Aug-05 5:35
WetRivrRat3-Aug-05 5:35 
GeneralRe: tracking actions in sql Pin
Rob Graham3-Aug-05 6:20
Rob Graham3-Aug-05 6:20 
GeneralRe: tracking actions in sql Pin
WetRivrRat3-Aug-05 7:05
WetRivrRat3-Aug-05 7:05 
GeneralRe: tracking actions in sql Pin
Rob Graham3-Aug-05 7:15
Rob Graham3-Aug-05 7:15 
GeneralRe: tracking actions in sql Pin
Anonymous3-Aug-05 7:20
Anonymous3-Aug-05 7:20 
GeneralRe: tracking actions in sql Pin
WetRivrRat5-Aug-05 8:40
WetRivrRat5-Aug-05 8:40 
GeneralRe: tracking actions in sql [Edit] Pin
Rob Graham5-Aug-05 9:22
Rob Graham5-Aug-05 9:22 
GeneralRe: tracking actions in sql [Edit] Pin
WetRivrRat5-Aug-05 9:55
WetRivrRat5-Aug-05 9:55 
GeneralRe: tracking actions in sql [Edit] Pin
Rob Graham5-Aug-05 11:45
Rob Graham5-Aug-05 11:45 
GeneralWhich is better Pin
WDI3-Aug-05 3:34
WDI3-Aug-05 3:34 
GeneralRe: Which is better Pin
toxcct3-Aug-05 5:13
toxcct3-Aug-05 5:13 
GeneralRe: Which is better Pin
Member 15192134-Aug-05 22:31
Member 15192134-Aug-05 22:31 
GeneralOracle download Pin
Bhuvanish3-Aug-05 2:11
Bhuvanish3-Aug-05 2:11 
GeneralRe: Oracle download Pin
toxcct3-Aug-05 5:15
toxcct3-Aug-05 5:15 
GeneralCannot add view in Server Explorer Pin
Daniel Hintz2-Aug-05 18:31
Daniel Hintz2-Aug-05 18:31 
GeneralRe: Cannot add view in Server Explorer Pin
Christian Graus2-Aug-05 19:16
protectorChristian Graus2-Aug-05 19:16 
GeneralRe: Cannot add view in Server Explorer Pin
Frank Kerrigan2-Aug-05 21:24
Frank Kerrigan2-Aug-05 21:24 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.