Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

sql select column names starting with

SELECT `COLUMN_NAME` 
FROM `INFORMATION_SCHEMA`.`COLUMNS` 
WHERE `TABLE_NAME`='producten' AND `COLUMN_NAME` LIKE 'pweb%'
AND DATA_TYPE = 'int'
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #sql #select #column #names #starting
ADD COMMENT
Topic
Name
9+8 =