Themuppeteer
Programmer
Hi,
I have an SQL DB with an column which stores date and time with the function getdate(), this is great, because it stores the time like this : 5/04/01 14:44:36 wich is good because I need that. The problem is that if I send it to my client,(or even in SQL Query analyser) ,I get this annoying abbreviation 'apr 5 2001 14:44PM'.
Since I store the time so as to know how many seconds did pass between 2 loggings, this abbreviation is useless to me.
So my questions are:
1) Does all the information actually get to the client
and is it just wrongfully represented on the screen or
do I have to change something in my stored procedure ?
2) Is there a way to get the time even more specific then
in seconds (like tenths of a second),because sometimes I
have more then 1 logging in a second.
Thanks,
Mark.
I have an SQL DB with an column which stores date and time with the function getdate(), this is great, because it stores the time like this : 5/04/01 14:44:36 wich is good because I need that. The problem is that if I send it to my client,(or even in SQL Query analyser) ,I get this annoying abbreviation 'apr 5 2001 14:44PM'.
Since I store the time so as to know how many seconds did pass between 2 loggings, this abbreviation is useless to me.
So my questions are:
1) Does all the information actually get to the client
and is it just wrongfully represented on the screen or
do I have to change something in my stored procedure ?
2) Is there a way to get the time even more specific then
in seconds (like tenths of a second),because sometimes I
have more then 1 logging in a second.
Thanks,
Mark.