mysql calling stored procedure for where id in -


i have created stored proc returns 1 column of id's linking.

sql = call myproc(555)  

the above works returning result set of id's.

sql = "select * mytable  id in (call myproc(555))" 

the above query says syntax incorrect , bombs.

suggestions? glenn


Comments

Popular posts from this blog

html - How can i make an element from a bottom stacking context stays in front of another higher stacking context? -

python - TypeError: start must be a integer -

sql - MySQL Custom calculate views -