Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Retrieving data from multiple tables
Message
De
20/09/2005 03:51:53
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Retrieving data from multiple tables
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows 2000 SP4
Network:
Windows 2000 Server
Database:
MS SQL Server
Divers
Thread ID:
01051149
Message ID:
01051149
Vues:
53
dear Experts,

i have a sql Statement and i m trying to retrieve 'Pindes' from pin file matching with
piccodes in the current table like as follows.

Select Table1.FirstName As Fname ,Table1.SecondName As SName, (CASE WHEN Len(Table1.pinCode) > 0 THEN (Select Table2.PinDes From Table2 Where Table1.PinCode = Table2.PinCode) ELSE Table1.City END) as PinDet

But while executing it, it gives error
please anybody helpe me to correct it.
Thanks in advance

Regards
Abdulla
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform