Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SQL to get the alphabetical next
Message
De
30/03/2003 08:51:36
Km Kwun
Eastop Consultants Limited
Nt, Hong Kong
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
SQL to get the alphabetical next
Divers
Thread ID:
00771820
Message ID:
00771820
Vues:
51
The customer table of my SQL server database contains the following 3 column. There may be more than one customer having exactly the same last and first names while CustID is unique:
CustID, LastName, FirstName

Data currently showing in my "Customer Data" form are
CustID=671
LastName='Barnes'
FirstName='John'

What is the best SQL command to get the CustID of next (alphabetic order) customer?

Grateful if anybody can help.
KM
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform