Created
May 30, 2014 20:41
-
-
Save anonymous/814b4f8a7b8e8a52a381 to your computer and use it in GitHub Desktop.
Serialized Data Blob Whittling technique. This one grabs the created date out of the ubercart order id.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SELECT | |
FROM_UNIXTIME( | |
SUBSTRING_INDEX( | |
SUBSTRING_INDEX( | |
SUBSTRING_INDEX(uo.data, 'created', -1), | |
';}', 1), | |
';i:', -1) | |
) | |
AS `Created Date` | |
FROM bitch_prod.uc_orders uo | |
WHERE uo.data LIKE '%created%' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment