Mysql - Procedure - Error 1054 - Unknown column -


hello have procedure:

begin declare myvar int; set @l_sql = concat('set @result = (insert ',p_table, '(sensor) values(123)'); prepare stmt1 @l_sql; execute stmt1 ; deallocate prepare stmt1; end 

when call

call test(id_3174380747); 

i have error:

 1054 - unknown column 'id_3174380747' in 'field list' 

which fault?


Comments

Popular posts from this blog

java - Jmockit String final length method mocking Issue -

What is the difference between data design and data model(ERD) -

ios - Can NSManagedObject conform to NSCoding -