How to use the decode command for Json values in SQL

How to use the decode command for Json values in SQL
venkatesh SarivisettySenior Software EngineerAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Qlemo"Batchelor", Developer and EE Topic AdvisorCommented:
Which database engine? Above is about MS SQL 2016/Azure.

*** Topic added ***
0
venkatesh SarivisettySenior Software EngineerAuthor Commented:
oracle sql
0
Determine the Perfect Price for Your IT Services

Do you wonder if your IT business is truly profitable or if you should raise your prices? Learn how to calculate your overhead burden with our free interactive tool and use it to determine the right price for your IT services. Download your free eBook now!

venkatesh SarivisettySenior Software EngineerAuthor Commented:
I need any suggestions on how to use the json value in the select statement. Please advise
0
venkatesh SarivisettySenior Software EngineerAuthor Commented:
I need some examples on how to read the value inside the json column and use that as condition to write the condition. Please suggest any article or examples.

Your help is much appreciated.
0
venkatesh SarivisettySenior Software EngineerAuthor Commented:
Misha, thanks for your link
But my question here is like

how we can pull/get the necessary value from the json_object , for example in json column I have a  code called 12345, I need to get that data and prepare a column to display..

select json_value(col_name,'$.tab')        = 12345 as 12345?? will it works??? or any other ways
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
venkatesh SarivisettySenior Software EngineerAuthor Commented:
Finished from my side.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Query Syntax

From novice to tech pro — start learning today.