Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Views: Alias Required or Absence of Cause Problems?
Message
De
04/10/2001 10:11:46
 
 
À
04/10/2001 10:04:30
Jay Johengen
Altamahaw-Ossipee, Caroline du Nord, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00564129
Message ID:
00564140
Vues:
17
This message has been marked as a message which has helped to the initial question of the thread.
Renoir,
As long as the fieldnames are unique, you won't run into problems. If you SELECT * FROM more than one table and there are duplicate fieldnames, then VFP and SQL Server automatically change the fieldnames in the resulting cursor. However, if you use a fieldname without tablename that exists in more than one table, you'll get an error (both in VFP and SQL Server).

>The View Designer adds the alias to all fields. ViewEdit (third-party product and an excellent one too!) does not require this. Just for the sake of arguement, will omitting the alias in the fields list cause any problems? These are local views, but I would like to know also if there could be issues if the data is moved to SQL Server. Thanks!
>
>Regards, Renoir
Daniel
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform