Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ISNULL and SQL Server
Message
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01386986
Message ID:
01387004
Views:
50
>>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform