Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
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.

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 surveying the Monastery: (6)
As of 2016-08-29 07:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    The best thing I ever won in a lottery was:















    Results (399 votes). Check out past polls.