Beefy Boxes and Bandwidth Generously Provided by pair Networks chromatic writing perl on a camel
Don't ask to ask, just ask
 
PerlMonks  

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?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://831158]
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: (8)
As of 2014-04-20 19:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (487 votes), past polls