Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Get table names from select sql
Message
De
06/05/2004 10:32:08
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00901535
Message ID:
00901558
Vues:
20
Rod

I'm assuming that you mean you want to put the table name into the SQL dynamically, i.e. you don't know its name at programming time. OK so you have your table name stored in the string lcMyTableName. You can use a "named expression", i.e:

Select * from ( lcMyTableName) into ...

Is this what you're after?

Terry

>Hi
>I have a select sql instruction, and I want to extract a string with the table names.
>¿There is any object, function, procedure with this functionality?
>TIA
- Whoever said that women are the weaker sex never tried to wrest the bedclothes off one in the middle of the night
- Worry is the interest you pay, in advance, for a loan that you may never need to take out.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform