Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ODBC problem
Message
De
10/12/1999 14:41:49
Christian Bellavance
Université du Québec à Hull
Hull, Québec, Canada
 
 
À
Tous
Information générale
Forum:
Visual Basic
Catégorie:
Bases de données DAO/RDO/ODBC/ADO
Titre:
ODBC problem
Divers
Thread ID:
00301936
Message ID:
00301936
Vues:
53
When I execute that query in the Query Analyser of SQL Server 7.0 the result is OK but when I exete from VB with RDO the result is something else... why?

Here is the query:

select pd_id, pd_name,
Mnt = (select sum(pr_price) from product_price pp inner join product p1 on pp.pd_id = p1.pd_id where pp.pd_id = p.pd_id) from product p

We know that the inner join is not neccessary but it is why we are getting the error.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform