Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

use concat in group_concat

SELECT GROUP_CONCAT(
	CONCAT(
		'{ID:',	ID,
        ',ParentID:', ParentID,
        '}'          
	) SEPARATOR ","
) FROM table
 
PREVIOUS NEXT
Tagged: #concat
ADD COMMENT
Topic
Name
9+6 =