Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ISNULL and SQL Server
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 9 SP1
Divers
Thread ID:
01386986
Message ID:
01387004
Vues:
49
>>I wish there was also equivalent of NVL() to Sql Select so that I would not have to have 2 SQL Select statements for each database.
>
>
>ISNULL(mytable.myfield,'Null Value Detected') as NonNullField
>
>or
>
>COALESCE(mytable.myfield,'Null Value Detected'') as NonNullField

What I meant is that the above syntax is applicable to SQL Server only. Therefore, for each of my SQL Select command I have to have two expressions, one for VFP data and another for SQL Server data.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform