Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Any way to know why zero records returned?
Message
 
À
04/02/2005 17:17:14
Jay Johengen
Altamahaw-Ossipee, Caroline du Nord, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00984057
Message ID:
00984061
Vues:
37
>Recently I've had to debug a few complex SQL statements. Is there any way to be able to determine - without having to remove pieces and rerun - what caused a SQL to return zero records? I think it should know, as it's whats pulling all the data together, but I haven't been able to find anything.

Jay,

First places I would look would be:

1. Make sure that at least one record satisfies the WHERE clause.
2. Make sure that there is at least one matching record for each INNER JOIN you have defined between two tables.

Laterness,
Jon
Jon Rosenbaum
Devcon Drummer
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform