Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Mocking time with SQLite

by jaldhar (Vicar)
on Dec 26, 2010 at 12:10 UTC ( #879208=perlquestion: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    created   TIMESTAMP     DEFAULT CURRENT_TIMESTAMP,
    
  2. or download this
    CREATE TRIGGER IF NOT EXISTS update_modification_time 
            AFTER UPDATE OF title, body ON items
            FOR EACH ROW BEGIN
                UPDATE items SET modified = DATETIME('NOW') WHERE id = new
    +.id;
            END;
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://879208]
Approved by planetscape
Front-paged by Old_Gray_Bear
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (14)
As of 2015-07-07 22:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (93 votes), past polls