Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SPT - multiple SELECTs with single result set
Message
De
07/07/2006 16:14:21
 
 
À
07/07/2006 13:26:00
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
01134421
Message ID:
01134572
Vues:
25
Hi Kevin,

I am not free to assume that I will be able to add/update stored procedures on client sites. This is not for an in-house system, but rather for one sold broadly.

I'm hoping to find that the "derived tables" or "temp tables" can be specified through SPT and that the final table of interest can be somehow designated as the single one to return.

It *may* be possible to make one huge SELECT statement, but I'd like to maintain some degree of readability, which is nicely afforded using multiple SELECTs.

cheers

>Hi, Jim,
>
>At the risk of repetition - if you are able to use stored procedures (i.e. no database restrictions), you really should do so.
>
>You can use derived tables, or table variables/temp tables to produce the result sets that lead to your final result set.
>
>I haven't used SPT in a little while....but I would *think* (but not positive) that the only way to get back one result set via SPT, is if you can pull off one long statement used derived tables, or subqueries, etc to get the results you want.
>
>
>Kevin
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform