Microsoft
Software
Hardware
Network
Question : converting a long to a varchar
Hi,
I have what I believe is a gregorian or unix date coming through from my database.
I want to convert it to a long but am not a mysql developer.....
Can someone one tell me how I would convert myfield from a long to a varchar in mysql?
Thanks
Answer : converting a long to a varchar
please check out your options:
http://dev.mysql.com/doc/r
efman/5.1/
en/date-an
d-time-
fun
ctions.htm
l
likely, the FROM_UNIXTIME():
http://dev.mysql.com/doc/r
efman/5.1/
en/date-an
d-time-
fun
ctions.htm
l#function
_from-unix
time
then, DATE_FORMAT:
http://dev.mysql.com/doc/r
efman/5.1/
en/date-an
d-time-
fun
ctions.htm
l#function
_date-form
at
Random Solutions
microsoft exchange server 2010
Blackberry browser 400 error - socketexception Connection reset
Is there a better docmd.sendobject method to send query results?
Request for the permission of type 'System.Net.Mail.SmtpPermi
ssion, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c56193
4e089' failed
Google Maps , ahhhh help pls!
Perl Iteration issue
extending jQuery autocomplete plugin functionality
How do I read Metastock data using C#?
How do I assign a preview image to the TSavePictureDialog
Why does my outlook show three tasks for every email I mark?