Dataset query case-insensitive value
Hi Dojo,
I have followed the documentation on
https://developer.domo.com/docs/dataset-api-reference/dataset#Query%20a%20DataSet
to query dataset.
However i can't find how to make a query with case-insensitive value, could you please help me solve this problem.
Best Answer
-
You can use either UPPER(`Field`) or LOWER(`Field`) to check values without worrying about the case.
For Example:
SELECT `Field`
FROM table
WHERE UPPER(`Field`) = UPPER(`Value`)You can wrap the Field selection at the top in either UPPER or LOWER if you're not interested in the case of the original value.
**Was this post helpful? Click Agree or Like below**
**Did this solve your problem? Accept it as a solution!**1
Answers
-
Hi,
I have found something on case-sensitivity. Check if you can do this way?
Please linke if it gives you any help.
**Say "Thanks" by clicking the heart in the post that helped you.
**Please mark the post that solves your problem by clicking on "Accept as Solution"Thanks,
Neeti
1 -
You can use either UPPER(`Field`) or LOWER(`Field`) to check values without worrying about the case.
For Example:
SELECT `Field`
FROM table
WHERE UPPER(`Field`) = UPPER(`Value`)You can wrap the Field selection at the top in either UPPER or LOWER if you're not interested in the case of the original value.
**Was this post helpful? Click Agree or Like below**
**Did this solve your problem? Accept it as a solution!**1 -
Thanks GrantSmith, it work perfectly
0
Categories
- All Categories
- 1.1K Product Ideas
- 1.1K Ideas Exchange
- 1.2K Connect
- 966 Connectors
- 254 Workbench
- Cloud Amplifier
- 1 Federated
- 2.4K Transform
- 75 SQL DataFlows
- 499 Datasets
- 1.8K Magic ETL
- 2.7K Visualize
- 2.2K Charting
- 360 Beast Mode
- 19 Variables
- 481 Automate
- 101 Apps
- 376 APIs & Domo Developer
- 6 Workflows
- 22 Predict
- 6 Jupyter Workspaces
- 16 R & Python Tiles
- 316 Distribute
- 64 Domo Everywhere
- 252 Scheduled Reports
- 59 Manage
- 59 Governance & Security
- 1 Product Release Questions
- 5K Community Forums
- 37 Getting Started
- 23 Community Member Introductions
- 63 Community Announcements
- 4.8K Archive