SELECT INTO and "Undeclared variable" error

Posted by hsz on Stack Overflow See other posts from Stack Overflow or by hsz
Published on 2010-06-01T12:19:19Z Indexed on 2010/06/01 12:23 UTC
Read the original article Hit count: 335

Filed under:
|
|

Hello !

When I try to execute following querry:

SELECT id_subscriber
  INTO newsletter_to_send
  FROM subscribers 

I get an error:

#1327 - Undeclared variable: newsletter_to_send

What is wrong with that query ?

© Stack Overflow or respective owner

Related posts about mysql

Related posts about mysql-query