Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: sqlite triggers

by ctilmes (Vicar)
on Mar 26, 2010 at 14:24 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://831158]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others browsing the Monastery: (10)
As of 2024-04-19 08:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found