INSERT Rows where userid=(SELECT id FROM userinfo)
View Single Post
09-24-2012, 10:12 PM
Supreme Master coder!
Join Date: Feb 2009
Thanked 4,307 Times in 4,274 Posts
You can't use WHERE in INSERT.
Show us what fields you have in the VotingSite table.
An optimist sees the glass as half full.
A pessimist sees the glass as half empty.
A realist drinks it no matter how much there is.
View Public Profile
Find More Posts by Old Pedant