Operand should contain 1 column(s) about insert into & select
Posted
by
user1038890
on Stack Overflow
See other posts from Stack Overflow
or by user1038890
Published on 2012-07-08T09:12:53Z
Indexed on
2012/07/08
9:15 UTC
Read the original article
Hit count: 119
"insert into NodeProfileSections (profile_no, tpl_section_no) select (np.profile_no, tps.tpl_section_no) from NodeProfile np, TemplateProfileSection tps, TemplateProfile tp where np.hostname = '%s' AND np.role = '%s' AND tp.tpl_profile_no = tps.tpl_profile_no AND tp.tpl_name = '%s' AND tp.role = '%s' AND tps.tpl_section_name = '%s';" %(hostname, role, template_name, role, section_name)
error_message = 'Operand should contain 1 column(s)'
How to solve this problem?
© Stack Overflow or respective owner