Username:
Password:
snippetsmania.com
Post and share your code snippets
Home
Post code
Register
About
Imprint
07
2009
30
MySQL
anonymous
3
Get all MySQL rows that are one week old
SELECT
DATE_SUB
(
date_time_column
,
INTERVAL
1
WEEK
)
FROM
your_table
;
Tags
MySQL
timestamp
date_sub
Languages
Ada
Bash
C
CIL
Cobol
CSharp
Css
Java
Javascript
MySQL
Perl
PHP
Ruby
VB
Most popular snippets
Replace all URLs with TinyUrls i...
(PHP)
Store settings in XML file in C#
(CSharp)
CSV reader
(CSharp)
Extract the search term from goo...
(PHP)
Count lines of a file
(CSharp)
All snippets on this site are freely available under the creative commons license and may be used without any limitations.
Most popular snippets