Discuss any general programming issues here
- Posts: 9
- Joined: Fri Mar 15, 2019 2:35 pm
I'm running the following code:
Code: Select all
local statement= db:prepare([[SELECT author_id FROM item_author WHERE item_id=(:a)]])
I keep getting the following error:
Can someone explain exactly what the error is?
(Data is in the DB, and results exist for the query.)
- Posts: 3068
- Joined: Fri Feb 12, 2010 2:33 pm
- Location: Germany
Try sending a PM to lazi
. He is the SQL expert here...