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
How do I enable audio mapping over RDP on Windows 7?
Group Policy applied to Terminal Server is stopping Shortcuts placed in Public Desktop from appearing
Adding iSCSI store to existing ESXi 4.0 system?
dell powervault ejection issues
Multi Homed Windows 2008 Server
HOW TO: remove the Anonymous User from the Everyone Group....
PHP Email
OnPopup + sql query
How to stablish a proper setup in MS Outlook 2003 encrypting mails
Change Mac disk to from case-sensitive, Journaled to Case-insensitive, Journaled.