Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SQL: ORDER BY clause is invalid
Message
De
02/04/2005 08:48:28
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Novell 5.x
Database:
Visual FoxPro
Divers
Thread ID:
01000629
Message ID:
01000972
Vues:
18
>>
>>To SQL server it's valid. IOW with a sample from pubs:
>>
>>
>>select distinct au_fname,au_lname, phone, right(phone,4) as PhoneNo
>>  from Authors
>>  order by PhoneNo,Phone
>>
>is valid.
>
>Cetin,
>
>What bug are you talking about? Such query works fine in VFP9.
>OPEN DATABASE (HOME(2) + "Data\testdata")
>USE testdata!employee
>SELECT DISTINCT first_name, last_name, ;
>	home_phone, RIGHT(ALLTRIM(home_phone),4) AS ph ;
>	FROM employee ;
>	ORDER BY ph, home_phone
>
Sergey,
Here you say it works but I found another message from you: Message #999392
Why should sales1 exist in base table? It's a bug, no?
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform