Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Table or Select Into
Message
De
16/11/1999 11:52:38
 
 
À
16/11/1999 10:06:13
Nancy Folsom
Pixel Dust Industries
Washington, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00291075
Message ID:
00291498
Vues:
22
I agree, Nancy.
The original question, as I understood it, was given a particular table that was the result of a SQL SELECT, how can you know if this table is a cursor or a DBF. I don't believe you can choose to assign an alias other than the table name in a SELECT .... INTO TABLE.tablname. Unless, of course, you USE that table AGAIN giving it an alternative alias.

>Dore, Alan-
>
>>IF JUSTSTEM(DBF('alias1')) # 'alias1'
>
>This is prone to introduced nightmarish bugs if you ever happen to use aliases other than the table name.
>
>IMHO, it would be much more solid design to decide that the sources for this type of work will be either views or tables. Views would be better, IMO.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform