Welcome To Snipplr


Everyone's Recent MySQL Snippets Tagged mysql



1 996 posted 15 years ago by jmacgr
Esquema basico manejo cursores en MYSQL
0 873 posted 15 years ago by xaviles
0 909 posted 15 years ago by level09
Some code I found for calculating and determining a persons age
1 873 posted 15 years ago by mpcircuitry
Came across this nice snippet @ mysql.com
2 3399 posted 15 years ago by j4kp07
used to find content that uses the PHP input filter....useful for upgrading core!
0 1079 posted 15 years ago by ReeceMarsland
Just updated for WP 3 (added wp_postmeta table for menus)! Test out the new installation thoroughly but everything should be fine, and your CMS should be running live on the new server!
0 992 posted 15 years ago by beneberle
1 1105 posted 15 years ago by nate63179
- fields on db with utf8_general_ci collation - make this query after any connection - put meta charset utf8 - read and write strings without problems
0 968 posted 15 years ago by ginoplusio
Must have a field named Weight. The more Weight the more often the record is selected. Weight should be an integer between 1 and 10.
1 1113 posted 15 years ago by BFTrick
MySQL Insert Unique Reference using MAX() to obtain latest value Alternate solution to using Composite Primary Keys which INNODB engine does not support.
0 1067 posted 15 years ago by cherbert
1 932 posted 15 years ago by nkm
Remove <>
0 1204 posted 15 years ago by jodm
Used to make sure the server log dose not fill up the hd.
2 926 posted 15 years ago by mushookies
0 1353 posted 15 years ago by CuDDL
This script shows the top 10 worst indexes (in terms of selectivity %) on the whole MySQL server instance. Selectivity is the percentage of distinct values in an indexed field compared to the number of records in the table. Note that this query can...
1 999 posted 16 years ago by Eloi
This will create and then populate a MySQL table with a list of the names for countries in existence. Country names are in Turkish language.
0 1527 posted 16 years ago by sensimevanidus
granting DB specific and general access priveleges from the CLI
1 1072 posted 16 years ago by stiobhart
CLI commands for backing up mySQL database
2 1254 posted 16 years ago by stiobhart
Splitting table users in frequently and infrequently accessed attributes
2 1419 posted 16 years ago by Eloi
Saving the IP as Int we save a lot of space and permit do beautibul selects
2 1022 posted 16 years ago by Eloi
2 1121 posted 16 years ago by craig1709