Welcome To Snipplr


Everyone's Recent MySQL Snippets



0 1337 posted 15 years ago by bradless
1 1312 posted 15 years ago by jmacgr
Esquema basico manejo cursores en MYSQL
0 1094 posted 15 years ago by xaviles
0 1121 posted 15 years ago by level09
1 1030 posted 15 years ago by magicrebirth
Some code I found for calculating and determining a persons age
1 1093 posted 16 years ago by mpcircuitry
Came across this nice snippet @ mysql.com
2 4004 posted 16 years ago by j4kp07
used to find content that uses the PHP input filter....useful for upgrading core!
0 1353 posted 16 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 1236 posted 16 years ago by beneberle
0 1388 posted 16 years ago by kingkool68
1 1397 posted 16 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 1225 posted 16 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 1417 posted 16 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 1292 posted 16 years ago by cherbert
1 1198 posted 16 years ago by nkm
as a note to self... in order to find it laters... This will only alter the value of fieldname if the conditions in the WHERE clause are met. With replace we only replace a certain string within fieldname with the replace_with string
1 1687 posted 16 years ago by iroybot
Remove <>
0 2462 posted 16 years ago by jodm
It's not 100% accurate, but works fine for people under 1.480.
2 1959 posted 16 years ago by nkm
Used to make sure the server log dose not fill up the hd.
2 1405 posted 16 years ago by mushookies