Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
EMPTY() working with SQL Server 2005
Message
General information
Forum:
Visual FoxPro
Category:
Client/server
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01109876
Message ID:
01114690
Views:
33
Hi,


I'm really sorry for the late answer.

Imagine a Query like this:

SELECT tabEu.descricao, tabEu.stamp, ISNULL(tabGu.descricao, '') AS grupo,
ISNULL(tabGu.ordem, 0) AS ordem
FROM tabEu (nolock)
LEFT JOIN tabGu (nolock) ON tabEu.st_tabGu = tabGu.stamp
ORDER BY grupo, ordem, tabEu.descricao

We could find the records with GRUPO field blank:

SELECT ...
SCAN FOR EMPTY(grupo)


The truth is... it doesn't work... with SQL Server 2000, evertyhing is Ok!


I'm going nuts.


Best regards,


Ricardo Almeida
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform