"Streaming" MySQL slave deployment - 0 views
A couple of useful mysqldump options - 0 views
MySQL AB :: Using the New MySQL Query Profiler - 1 views
-
When it comes to overall performance, it's important to remember that the #1 contributor is always a good database design. The second highest contributor to performance is well-tuned SQL code.
-
But a better day has come along in MySQL 5.0.37 with the inclusion of the SQL Profiling utility. This interactive diagnostic aid allows a developer or DBA to gain insight into where a set of SQL code spends its time and the resources it is using.
MySQL AB :: MySQL Workbench - 0 views
Fulltext Searching MySQL field for multiple keywords - 0 views
-
MATCH (patient_1_question.terms) AGAINST ('+$term_1 +$term_2 +$term_3 +$term_4' IN BOOLEAN MODE
PHP: strtotime - Manual - 0 views
-
The function expects to be given a string containing a US English date format and will try to parse that format into a Unix timestamp
-
echo strtotime("now"), "\n";echo strtotime("10 September 2000"), "\n";echo strtotime("+1 day"), "\n";echo strtotime("+1 week"), "\n";echo strtotime("+1 week 2 days 4 hours 2 seconds"), "\n";echo strtotime("next Thursday"), "\n";echo strtotime("last Monday"), "\n";
MySQL里获取当前week、month、quarter的start_date/end_date - hideto - JavaEye技术网站 - 0 views
-
当前week的第一天: select date_sub(curdate(),INTERVAL WEEKDAY(curdate()) + 1 DAY) 当前week的最后一天: select date_sub(curdate(),INTERVAL WEEKDAY(curdate()) - 5 DAY) 前一week的第一天: select date_sub(curdate(),INTERVAL WEEKDAY(curdate()) + 8 DAY) 前一week的最后一天: select date_sub(curdate(),INTERVAL WEEKDAY(curdate()) + 2 DAY) 前两week的第一天: select date_sub(curdate(),INTERVAL WEEKDAY(curdate()) + 15 DAY) 前两week的最后一天: select date_sub(curdate(),INTERVAL WEEKDAY(curdate()) + 9 DAY)
-
当前month的第一天: SELECT concat(date_format(LAST_DAY(now()),'%Y-%m-'),'01') 当前month的最后一天: SELECT LAST_DAY(now()) 前一month的第一天: SELECT concat(date_format(LAST_DAY(now() - interval 1 month),'%Y-%m-'),'01') 前一month的最后一天: SELECT LAST_DAY(now() - interval 1 month) 前两month的第一天: SELECT concat(date_format(LAST_DAY(now() - interval 2 month),'%Y-%m-'),'01') 前两month的最后一天: SELECT LAST_DAY(now() - interval 2 month)
-
当前quarter的第一天: select concat(date_format(LAST_DAY(MAKEDATE(EXTRACT(YEAR FROM CURDATE()),1) + interval QUARTER(CURDATE())*3-3 month),'%Y-%m-'),'01') 当前quarter的最后一天: select LAST_DAY(MAKEDATE(EXTRACT(YEAR FROM CURDATE()),1) + interval QUARTER(CURDATE())*3-1 month) 前一quarter的第一天: select concat(date_format(LAST_DAY(MAKEDATE(EXTRACT(YEAR FROM CURDATE()),1) + interval QUARTER(CURDATE())*3-6 month),'%Y-%m-'),'01') 前一quarter的最后一天: select LAST_DAY(MAKEDATE(EXTRACT(YEAR FROM CURDATE()),1) + interval QUARTER(CURDATE())*3-4 month) 前两quarter的第一天: select concat(date_format(LAST_DAY(MAKEDATE(EXTRACT(YEAR FROM CURDATE()),1) + interval QUARTER(CURDATE())*3-9 month),'%Y-%m-'),'01') 前两quarter的最后一天: select LAST_DAY(MAKEDATE(EXTRACT(YEAR FROM CURDATE()),1) + interval QUARTER(CURDATE())*3-7 month)
MySQL AB :: MySQL Tools - 0 views
MySQL AB :: Using MySQL With Ruby - 0 views
‹ Previous
21 - 40 of 231
Next ›
Last »
Showing 20▼ items per page