Way to get fillable fields from a specific table
SELECT CONCAT("'",COLUMN_NAME,"',")
FROM INFORMATION_SCHEMA.COLUMNS
WHERE TABLE_NAME = 'undp_liupcp_survey'
ORDER BY ORDINAL_POSITION ASC;
SELECT CONCAT("'",COLUMN_NAME,"',")
FROM INFORMATION_SCHEMA.COLUMNS
WHERE TABLE_NAME = 'undp_liupcp_survey'
ORDER BY ORDINAL_POSITION ASC;
Comments
Post a Comment