MySQL Tutorial/Information Functions/BENCHMARK
Версия от 13:44, 26 мая 2010; (обсуждение)
BENCHMARK(count,expr) executes the expression expr repeatedly count times. :
mysql>
mysql>
mysql> SELECT BENCHMARK(1000000,ENCODE("hello","goodbye"));
+----------------------------------------------+
| BENCHMARK(1000000,ENCODE("hello","goodbye")) |
+----------------------------------------------+
| 0 |
+----------------------------------------------+
1 row in set (0.47 sec)
mysql>