Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SQL SYNTAX
Message
From
11/04/2001 03:58:04
 
 
To
11/04/2001 03:51:19
Gavin Reid
L & M Marketing Pty Ltd
Frenchs Forest, Australia
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Miscellaneous
Thread ID:
00494306
Message ID:
00494321
Views:
12
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform