Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Selecting from multiple tables...
Message
De
03/06/1999 16:27:43
 
 
À
03/06/1999 16:25:18
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00226145
Message ID:
00226231
Vues:
28
PMFJI, one minor irrelevant thing: using '==', instead of '=' may effectively kill Rushmore.

>You have no join condition in your SELECT. You should have a condition that tell which field in Conference link to Rooms, as in:
>
>
SELECT Conference.ConfNum;
>   FROM Conference;
>   INNER JOIN Rooms ON Conference.PK = Rooms.FK;
>   WHERE Rooms.HallName=="Hewett" .OR. Rooms.HallName=="Manchester";
>   INTO CURSOR tmp
HTH
>
>>SELECT Conference.ConfNum, Conference.ConfName, Conference.CheckInBegin, ;
>> Conference.CheckInEnd, Conference.CheckOutBegin, Conference.CheckOutEnd, ;
>> Rooms.HallName FROM Conference INNER JOIN Rooms WHERE ;
>> Rooms.HallName=="Hewett" .OR. Rooms.HallName=="Manchester" INTO CURSOR tmp
>>
>>Syntax error... =(
Edward Pikman
Independent Consultant
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform