Click here to Skip to main content
16,003,224 members
Home / Discussions / Database
   

Database

 
QuestionStoring Time value in Access Pin
Richard Blythe20-Aug-10 7:09
Richard Blythe20-Aug-10 7:09 
AnswerRe: Storing Time value in Access Pin
David Mujica20-Aug-10 7:22
David Mujica20-Aug-10 7:22 
I'm a bit confused. Confused | :confused:

You say that want a better way to store time in Access, but you will need to convert it to DateTime in your select statement. Then why not store it in a DateTime column to begin with ?

I worked for a Time and Attendace company for a while and what I've learned is that you always seem to need the date component along with the time because there is always the overnight shift worker. (11pm to 7am)

When you store the data in a DateTime column, the calculation of time difference is already built into those functions, you don't have to worry about crossing midnight etc.

My vote is to store the time in a DateTime column. Thumbs Up | :thumbsup:

I'm getting off my soapbox now. Wink | ;)

Best of luck with your project.
GeneralRe: Storing Time value in Access Pin
Richard Blythe20-Aug-10 7:48
Richard Blythe20-Aug-10 7:48 
GeneralRe: Storing Time value in Access Pin
Eddy Vluggen20-Aug-10 7:53
professionalEddy Vluggen20-Aug-10 7:53 
GeneralRe: Storing Time value in Access Pin
Richard Blythe20-Aug-10 7:58
Richard Blythe20-Aug-10 7:58 
GeneralRe: Storing Time value in Access Pin
T M Gray20-Aug-10 8:06
T M Gray20-Aug-10 8:06 
GeneralRe: Storing Time value in Access Pin
Mycroft Holmes20-Aug-10 16:32
professionalMycroft Holmes20-Aug-10 16:32 
AnswerRe: Storing Time value in Access Pin
Luc Pattyn21-Aug-10 0:13
sitebuilderLuc Pattyn21-Aug-10 0:13 
GeneralRe: Storing Time value in Access Pin
Richard Blythe21-Aug-10 5:31
Richard Blythe21-Aug-10 5:31 
AnswerRe: Storing Time value in Access Pin
Bernhard Hiller22-Aug-10 21:02
Bernhard Hiller22-Aug-10 21:02 
AnswerRe: Storing Time value in Access Pin
Corporal Agarn24-Aug-10 1:34
professionalCorporal Agarn24-Aug-10 1:34 
Questionsql function Pin
Thanusree Duth18-Aug-10 1:24
Thanusree Duth18-Aug-10 1:24 
AnswerRe: sql function Pin
ps_prakash0218-Aug-10 2:19
ps_prakash0218-Aug-10 2:19 
AnswerRe: sql function Pin
Mycroft Holmes18-Aug-10 2:45
professionalMycroft Holmes18-Aug-10 2:45 
QuestionDoes PRINT work in sql server function Pin
Jagz W17-Aug-10 18:47
professionalJagz W17-Aug-10 18:47 
AnswerRe: Does PRINT work in sql server function Pin
Mycroft Holmes17-Aug-10 19:10
professionalMycroft Holmes17-Aug-10 19:10 
GeneralRe: Does PRINT work in sql server function Pin
Jagz W17-Aug-10 19:19
professionalJagz W17-Aug-10 19:19 
GeneralRe: Does PRINT work in sql server function Pin
Mycroft Holmes17-Aug-10 19:29
professionalMycroft Holmes17-Aug-10 19:29 
AnswerRe: Does PRINT work in sql server function Pin
David Skelly17-Aug-10 22:10
David Skelly17-Aug-10 22:10 
GeneralRe: Does PRINT work in sql server function Pin
Mycroft Holmes17-Aug-10 23:37
professionalMycroft Holmes17-Aug-10 23:37 
GeneralRe: Does PRINT work in sql server function Pin
Jagz W18-Aug-10 0:29
professionalJagz W18-Aug-10 0:29 
GeneralRe: Does PRINT work in sql server function Pin
Mycroft Holmes18-Aug-10 2:49
professionalMycroft Holmes18-Aug-10 2:49 
GeneralRe: Does PRINT work in sql server function Pin
Jagz W18-Aug-10 6:57
professionalJagz W18-Aug-10 6:57 
GeneralRe: Does PRINT work in sql server function Pin
David Skelly18-Aug-10 3:33
David Skelly18-Aug-10 3:33 
AnswerRe: Does PRINT work in sql server function Pin
Eddy Vluggen19-Aug-10 12:32
professionalEddy Vluggen19-Aug-10 12:32 

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.