Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Sqlserver CASE WHEN.. THEN ... END doesn't work with vfp
Message
From
15/01/2011 05:22:00
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Database:
MS SQL Server
Miscellaneous
Thread ID:
01496269
Message ID:
01496272
Views:
57
here is an exemple

SELECT Detmvt.NUMDET, case when Detmvt.SENS=1 then 'DEBIT' else 'CREDIT' end as libelle
FROM dbo.DETMVT Detmvt

that works on sqlserver side but in vfp 9 remote view this doesn't work.
here the error message :
COMMAND CONTAINS UNRECOGNIZED PHRASE/KEYWORD

I don't understand.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform