skip to Main Content

Stored Procedure WITH SINGLE QUOTES – Mysql

Hi i have the next SP: CREATE DEFINER=`admin`@`%` PROCEDURE `get_products_id`(IN column_name VARCHAR(50)) BEGIN SET @column_name = column_name; SET @query = CONCAT('SELECT `p`.`id` AS `id`, `p`.`image` AS `image`, `p`.`globalClasification` AS `globalClasification`, `p`.`itemId` AS `itemId`, `p`.`code` AS `code`, `p`.`providerCode` AS `providerCode`, `p`.`description`…

VIEW QUESTION
Back To Top
Search