Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SQL error for blank child table
Message
De
07/05/2003 03:48:37
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
SQL error for blank child table
Divers
Thread ID:
00785687
Message ID:
00785687
Vues:
43
Could somone tell me how to generate an SQL output where 2 tables are conditionally linked, for the following situation:

There is a stock_in table (where stock is brought in) , and an issues table (where stock is issued). The SQL creates an output for issues of a selected product (from the stock_in), which is linked to the issues table by a join statement on the product_id.

My problem is that output is generated so long as there are records corresponding to the stock_in product_id in the issues table. In case the issues table has no issues corresponding to the product_id, it generates an error.

Thanks a lot

Regards,

Steve.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform