Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SQL error for blank child table
Message
De
07/05/2003 03:59:11
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
07/05/2003 03:48:37
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00785687
Message ID:
00785688
Vues:
14
>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.

Steve,
How is your code and what's the error message?
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform