Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SQL Problem
Message
De
12/04/2000 22:38:11
 
 
À
12/04/2000 20:51:38
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
Divers
Thread ID:
00359054
Message ID:
00359086
Vues:
12
>Hi all,
>
>I try to do this select and i get an error unrecognize phrase/keyword.
>
>SELECT * ;
>FROM DOCUMENTOSCABCLI A, DOCUMENTOSLINCLI B;
>WHERE A.C_TIPODOC+A.C_ARMAZEM+A.C_COD_SER+A.C_NUMDOC=B.C_TIPODOC+B.C_ARMAZEM+B.C_COD_SER+B.C_NUMDOC ;
>BETWEEN 1 AND 5 ;
>INTO CURSOR DOCUMENTOS
>
>Thank's in Advance
>
>João Batista

Try this, but this is not optimized.

SELECT * ;
FROM DOCUMENTOSCABCLI A, DOCUMENTOSLINCLI B;
WHERE A.C_TIPODOC+A.C_ARMAZEM+A.C_COD_SER+A.C_NUMDOC = ;
B.C_TIPODOC+B.C_ARMAZEM+B.C_COD_SER+B.C_NUMDOC ;
AND BETWEEN(A.C_TIPODOC+A.C_ARMAZEM+A.C_COD_SER+A.C_NUMDOC, 1, 5) ;
INTO CURSOR DOCUMENTOS
Fred Lauckner

You know, it works on my computer. I don't know what your problem is.

.Net aint so bad.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform