Re: Generate random BLOB
Posted by: Rick James
Date: June 14, 2013 11:08PM

Some clues:
mysql> SELECT REPEAT('abc', 11);
+-----------------------------------+
| REPEAT('abc', 11)                 |
+-----------------------------------+
| abcabcabcabcabcabcabcabcabcabcabc |
+-----------------------------------+
1 row in set (0.06 sec)

mysql> SELECT REPEAT(rand(), 3);
+--------------------------------------------------------+
| REPEAT(rand(), 3)                                      |
+--------------------------------------------------------+
| 0.84867803924593890.84867803924593890.8486780392459389 |
+--------------------------------------------------------+
1 row in set (0.00 sec)

Options: ReplyQuote


Subject
Written By
Posted
June 14, 2013 03:17AM
Re: Generate random BLOB
June 14, 2013 11:08PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.