Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
IIF character length?
Message
De
03/06/2002 08:36:00
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
03/06/2002 08:32:15
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00663995
Message ID:
00664006
Vues:
21
>To make it simpler:
>SELECT IIF(empty(dtcompl),"''","'" + DTOC(dtcompl) + "'") from mevmast where citat LIKE 'BA83311%'
>
>results in '0
>
>SELECT IIF(empty(dtdisp),"''","'" + DTOC(dtdisp) + "'") from mevmast where citat LIKE 'BA83311%'
>
>results in '10/26/90'
>
>Both fields are of the date type, length 8, and contain a date value. What could cause this?

Why don't you directly say :

SELECT dtcompl from mevmast where citat LIKE 'BA83311%'

Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform