- Posts: 4
- Thank you received: 0
Ask the community, share ideas, and connect with other LimeSurvey users!
Please Log in to join the conversation.
SELECT GROUP_CONCAT(COLUMN_NAME ORDER BY ORDINAL_POSITION SEPARATOR ', ') FROM INFORMATION_SCHEMA.COLUMNS WHERE TABLE_SCHEMA = 'limesurvey' AND TABLE_NAME = 'old_survey_$ID_$TIMESTAMP';
INSERT INTO survey_$ID ($col_list) SELECT $col_list FROM old_survey_$ID_$TIMESTAMP;
Please Log in to join the conversation.
Please Log in to join the conversation.
Please Log in to join the conversation.