Update README.md

parent 02b35e6c
...@@ -2,3 +2,24 @@ mysql_microsecnow ...@@ -2,3 +2,24 @@ mysql_microsecnow
================= =================
Mysql UDF to add a clone of NOW() that return microseconds Mysql UDF to add a clone of NOW() that return microseconds
After installing it, just execute in the mysql shell:
<code>
CREATE FUNCTION microsecnow RETURNS INTEGER SONAME 'microsecnow.so';
</code>
and the you can do:
<code>
mysql> SELECT MICROSECNOW();
+------------------+
| MICROSECNOW() |
+------------------+
| 1393634420837085 |
+------------------+
1 row in set (0.00 sec)
mysql>
</code>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment