Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
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 lurking in the Monastery: (11)
As of 2014-07-28 13:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (198 votes), past polls