n'abend,
mit SHOW COLUMNS und DESCIPTION habe ich es schon versucht, das Problem dabei ist halt, dass ich immer mehr bekomme als ich will, wie z.B. Feldtyp usw.
nicht benötigte Informationen kann man ja ausblenden (weg projezieren).
Dein Vorschlag
"SELECT COLUMN_NAME FROMCOLUMNS
WHERE TABLE_SCHEMA = 'datenb1' AND TABLE_NAME = 'testtabelle'"
ergibt leider
#1146 - Table 'datenb1.columns' doesn't exist
nun, vermutlich, weil ich ein »USE information_schema« vorangestellt hatte. Probier es mal mit:
SELECT COLUMN_NAME
FROM information_schema.COLUMNS
WHERE TABLE_SCHEMA = 'datenb1'
AND TABLE_NAME = 'testtabelle'
weiterhin schönen abend...
--
#selfhtml hat ein Forum?
sh:( fo:# ch:# rl:| br:> n4:& ie:{ mo:} va:) de:] zu:} fl:( ss:? ls:[ js:|
#selfhtml hat ein Forum?
sh:( fo:# ch:# rl:| br:> n4:& ie:{ mo:} va:) de:] zu:} fl:( ss:? ls:[ js:|