Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw

Re: sqlite triggers

by ctilmes (Priest)
on Mar 26, 2010 at 14:24 UTC ( #831158=note: print w/ replies, xml ) Need Help??

in reply to sqlite triggers

... INSERT INTO profile user_id values (new.user_id); ...
Try putting () around the keys you are inserting.
... INSERT INTO profile (user_id) values (new.user_id); ...
This is really an SQL question. Try running "sqlite" on the command line and get your SQL syntax right before jumping into Perl. It is easier to get error messages there too.

Comment on Re: sqlite triggers
Select or Download Code

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://831158]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (9)
As of 2015-11-26 18:58 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (706 votes), past polls