|   Mailinglisten-Archive | 
Hallo,
ich wollte mal fragen, ob ich in den syntax:
#Code
    create table if not exists tableName
    REPLACE select ...    from tblSuche
    where match (sqTitle, sqDesc) AGAINST   ('$query'  in boolean mode)
#ende
direkt die indexe einbauen kann?!
Ich hab es schon vor und nach dem select probiert, aber es geht nicht!
Daher mach ich imemr einen alter table auf die tabelle
#code
    alter ignore table tableName
        add primary key (sqNum),
        add index (sqCategory),
        add index(aCatParent,aCatChild),
        add index (bCatParent,bCatChild)
#ende
nur leider gibt mir das manchmal
    Mehrfacher Primärschlüssel (Primary Key) definiert
aus
Gruß  Thomas
---------------------------------------
      ICQ: 333994835
      MSN: thomasgoik
      Ruf: 0034 96 645 65 57
      Mobil: +34 609 17 15 17
-- 
Infos zur Mailingliste, zur Teilnahme und zum An- und Abmelden unter
-->>  http://www.4t2.com/mysql 
    php::bar PHP Wiki - Listenarchive