Follow along with the video below to see how to install our site as a web app on your home screen.
Anmerkung: This feature may not be available in some browsers.
Die MySQL-Anweisung wäre:ich benutze Oracle, kein MySQL. [...]Gibt es keine SQL Funktion dafür?
[FONT=Courier New][B][COLOR=#9932cc]SHOW[/COLOR][/B] [COLOR=DarkOrchid][B]COLUMNS[/B][/COLOR] [B][COLOR=#9932cc]FROM[/COLOR][/B] `table`[/FONT]
Ich würde mal sagen, wenns in MySQL ned geht, gehts im allgemeinen SQL auch ned.Ist es möglich bei der WHERE Klausel eine Wildcard zu benutzen wie *?
Á la: "SELECT * FROM $table WHERE * = '1'"
[FONT=Courier New][B][COLOR=#9932cc]SELECT[/COLOR][/B] * [B][COLOR=#9932cc]FROM[/COLOR][/B] [COLOR=Black]table[/COLOR] [B][COLOR=#9932cc]WHERE[/COLOR][/B] field1=1 [B][COLOR=#9932cc]OR[/COLOR][/B] field2=1 [B][COLOR=#9932cc]OR[/COLOR][/B] field3=1[/FONT]
Hallo,
ich benutze Oracle, kein MySQL. Deshalb habe ich im Titel die Angabe auch recht neutral gehalten und nur SQL geschrieben.
Gibt es keine SQL Funktion dafür?
SELECT
COLUMN_NAME
FROM
INFORMATION_SCHEMA.COLUMNS
WHERE
TABLE_SCHEMA = 'datenbank'
TABLE_NAME = 'tabelle'