Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SQL SYNTAX
Message
De
11/04/2001 03:58:04
 
 
À
11/04/2001 03:51:19
Gavin Reid
L & M Marketing Pty Ltd
Frenchs Forest, Australie
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
Divers
Thread ID:
00494306
Message ID:
00494321
Vues:
14
it did not work


SELECT UPPER(au_lname) AS au_lname ;
FROM authors ;
GROUP BY au_lname ;
HAVING COUNT(*) > 1 ;
INTO CURSOR firstpass_cursor

SELECT authors.* ;
FROM firstpass_cursor, authors ;
WHERE UPPER(authors.au_lname) = firstpass_cursor.au_lname ;
INTO CURSOR secondpass_cursor ;
ORDER BY firstpass_cursor.au_lname

ERRORS ARE

Server: Msg 156, Level 15, State 1, Line 2
Incorrect syntax near the keyword 'FROM'.
Server: Msg 156, Level 15, State 1, Line 8
Incorrect syntax near the keyword 'FROM'.


Thanks Mohammed
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform