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
- 10.5K All Categories
- 8 Connect
- 918 Connectors
- 250 Workbench
- 470 Transform
- 1.7K Magic ETL
- 69 SQL DataFlows
- 477 Datasets
- 193 Visualize
- 252 Beast Mode
- 2.1K Charting
- 11 Variables
- 17 Automate
- 354 APIs & Domo Developer
- 89 Apps
- 3 Workflows
- 20 Predict
- 5 Jupyter Workspaces
- 15 R & Python Tiles
- 247 Distribute
- 63 Domo Everywhere
- 243 Scheduled Reports
- 21 Manage
- 42 Governance & Security
- 174 Product Ideas
- 1.2K Ideas Exchange
- 12 Community Forums
- 27 Getting Started
- 14 Community Member Introductions
- 55 Community News
- 4.5K Archive