Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Union and calculated field
Message
De
28/02/2010 02:21:06
 
 
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Syntaxe SQL
Versions des environnements
SQL Server:
SQL Server 2008
Application:
Web
Divers
Thread ID:
01451565
Message ID:
01451577
Vues:
24
>IMHO, using char type makes sense only when you know that all 74 characters are always populated. Say, it makes sense to have Char(2) for State field or Char(1) for some type field.

...and, they are

>UNION performs distinct and therefore certain types can not be used with UNION. (You'll get the same error if you try to use UNION and memo fields).
>
>UNION ALL doesn't perform DISTINCT operation and therefore we can use it even with TEXT type in SQL Server or Memo field in VFP.

Thanks
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform