Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Include NULL in the result
Message
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Database:
Visual FoxPro
Divers
Thread ID:
01036945
Message ID:
01036979
Vues:
14
>>Try
* VFP
>> SELECT SPACE(50) as cEmpName, SPACE(10) as cUserID, null as cUsGrLink_pk
>> FROM Users WHERE RECNO() =1
>>* SQL Server
>> SELECT SPACE(50) as cEmpName, SPACE(10) as cUserID, null as cUsGrLink_pk
>>
>
>This gives me the same error:
>SQL: Cannot determine data type of SQL column "column" (Error 1890)Visual FoxPro cannot determine the data type of the specified SQL column because the first record in the field contains a null value.
>
>The funny thing is that it displays some strange characters instead of the column name (lets call them greek for the lack of better description).

Looks like a bug to me because VFP certanly can determine the field type from the first select in the UNION.
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform