Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SQL Joins
Message
 
À
24/10/2002 10:39:38
Peter Walburn
Omega Data Services Ltd
Aberdeen, Royaume Uni
Information générale
Forum:
Visual Basic
Catégorie:
Bases de données DAO/RDO/ODBC/ADO
Titre:
Divers
Thread ID:
00714873
Message ID:
00714897
Vues:
15
Hi Peter.

There's no way to do this, at least that I've come across. I've been faced with similar situations and I have gotten the data I need from the second table, then added the table's fields to the memory-only ADO recordset, then looped through the two recordsets to add the appropriate data.

This requires a design that includes as little data as possible being returned from the data source, of course...

I have also seem folks create temp tables and dump the memory-only rs into the table, and *then* execute a select. And then, of course, clean everything up. Pretty inelegant, but it works.

>Hi,
>
>Is it possible to have create a recordset that joins with other recordsets that only exist in memory?
>
>I have a few recordsets that I have populated with data - they do not exist as tables in a database. I want to build a new recordset that uses a table from my database and needs to join with the memory recordsets.
>
>Is it possible to do this using normal SQL such as "...From Table1 Inner Join Table2..." where Table1 is a physical table in the database and Table2 is only in memory?
>
>Or am I going to have to create my recordsets differently?
>
>Pete
The whole problem with the world is that fools and fanatics are always so certain of themselves, but wiser people so full of doubts. - Bertrand Russell
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform