Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Need advice on SQL
Message
 
À
17/09/2006 15:40:35
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Database:
Visual FoxPro
Divers
Thread ID:
01154440
Message ID:
01154505
Vues:
10
>>I would suggest to stop trying to do the whole job with one query. Keep your original query to get the dat with memos with an added filed for firstvideo number like "..., 0 as FirstVideo ...". Make that query READWRITE. Then do a scan loop and fire my suggestion to simply get the first video number for each program. Something like this;
>
>This is coming from VB.NET by the use of OleDB, so I have to do everything in one big SQL.

Is this against SQL Server or VFP? If it is SQL Server you could make each of those queries a view and then make a single join between them in ADO for the VB code.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform