How can I create a query using a wildcard character in the Database Toolbox?

2 views (last 30 days)
I want to introduce a wildcard character in my database query. I tried to use '*' and '?', however, they do not return the expected results.

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 27 Jun 2009
Use the '%' wildcard to represent any number of characters, or an underscore ('_'), for any single character. For more information on this, refer to the documentation section "Database Toolbox -> GUI Reference -> Condition", also accessible by typing the following command at the MATLAB command prompt:
web([docroot,'/toolbox/database/csh10.html'])

More Answers (0)

Products

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!