Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Sql Select Question
Message
De
16/04/1999 15:06:53
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Sql Select Question
Divers
Thread ID:
00209136
Message ID:
00209136
Vues:
62
Hello All,

I have a SQL statement with two selects UNIONed together. Both halfs use outer joins.

In the first half, "MyField" gets ALL numeric values as it should. In the scond half, however, "MyField" must somtimes (correctly) get .null. values. Problem? The first half of the union seems to be setting up "MyField" as a "NOT NULL" field and when the second half tries to add null values, I get an error that "MyField does not accept null values."

How can I tell "MyField" to accept NULL values in the first half of the union?

(BTW - reversing the selects won't work because another field - "Myfield2" works just opposite,)

TIA!
Ken
Ken B. Matson
GCom2 Solutions
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform