Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SELECT help with a UNION???
Message
 
À
02/11/1999 22:09:40
Peter Brama
West Pointe Enterprises
Detroit, Michigan, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00285908
Message ID:
00285975
Vues:
18
Peter,

The same remark I gave you before, when you sue a constant to define a default it has to be the length and precision of the largest value that may be encountered. You use 0.00 in both selects, however is select 1 use the 0.00 for the first record it has a N(4,2) field in it, if the 2nd select uses a number that is 7,2 then its length is set that way and the two selects are not unionable.

Instead use 00000.00 with enough 0's to make it equal in length to the largest value.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform