Database Developer
Thursday, April 28, 2016
MySQL Functions
1) The MySQL LAST_INSERT_ID function to get the last insert id that MySQL has been generated.
2) STR_TO_DATE() function to convert strings into a date and/or time values.
SELECT STR_TO_DATE('20130101 113012','%Y%m%d %h%i%s') ;
2013-01-01 11:30:12
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment