Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Select - SQL & memo fields
Message
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00823460
Message ID:
00824191
Views:
32
Which leads me to the final question...

What's the best way to SELECT - SQL when dealing with memo fields in the WHERE when considering optimization

SELECT * FROM MyTable WHERE !EMPTY(MyMemoField) AND MyMemoField='test'
or
SELECT * FROM MyTable WHERE MyMemoField='test' AND !EMPTY(MyMemoField)
or
SELECT * FROM MyTable WHERE !BLANK(MyMemoField) AND MyMemoField='test'
or
SELECT * FROM MyTable WHERE MyMemoField='test' AND !BLANK(MyMemoField)
Brandon Harker
Sebae Data Solutions
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform