Skip to content
DbaFix
Just share answer and question for fixing database problem
MENU
  • HOME

Tag: json-path

Is it possible to remove a JSON array element by value in MySQL?

By adminPosted on February 15, 2023

Question : In MySQL, it’s possible to remove an array element by index: SELECT JSON_REMOVE(‘[“a”, “b”, “c”]’, ‘$[1]’) `result`; +————+ […]

Does the SQL/JSON Path specification allow accessing the property of a filter expression’s result

By adminPosted on January 23, 2023

Question : I noticed a difference in the evaluation of a SQL/JSON path expression between Oracle and Postgres and I […]

PostgreSQL Convert JSONB array to string

By adminPosted on June 5, 2022

Question : I am trying to flatten a nested JSONB object into a string so that I can run regex […]

how to get result value JSON and send result Format JSON

By adminPosted on March 31, 2022

Question : I have Query for result JSON but I need result like this: result:[ “B”:{1628424359816,35}, “A”:{1628424359816,1}, “B”:{1628424380816,63}, “A”:{1628424380816,1}] My […]

PostgreSQL – How do I get all the values from a JSONB search on a nested object?

By adminPosted on February 28, 2021

Question : Postgres 12 with the following jsonb field I need to dig into: {“count”:894, “limit”:100000, “units”:”lin”, “observations”: [ {“date”:”1947-01-01″,”value”:”21.48″,”realtime_end”:”2021-07-14″,”realtime_start”:”2021-07-14″}, […]

Dynamically update JSONB rows – POSTGRESQL

By adminPosted on January 21, 2021

Question : I am currently trying to update some JSONB fields that we have on our database, we are moving […]

Recent Posts

  • How can I create a gapless sequence?
  • Unable to Query Very Large Table
  • Why should I create an ID column when I can use others as key fields? [duplicate]
  • Force NOW to return new timestamps without committing the transaction
  • MariaDB on Windows Server 2012 R2 – out of memory
  • How to easily convert a comma seperated list of ids into a table of rows
  • clusterdb stopped working for PostgreSQL database in Ubuntu 12.04 server
  • Slow MySQL query
  • Database design : hotel room and its detail
  • How to use GROUP BY in an efficient way without losing attributes? [closed]
  • Query execution time is random, need to identify the root cause
  • Returning data where all categories exactly match
  • Partitioning increases CPU usage in mariadb
  • How to script out push subscription creation at the subscriber?
  • Can a transitive join loop infinitely?
  • 2 similar queries in large sql server table – 1 takes too long
  • Select data from another database instance on the same server in sql server
  • Is it possible to get server roles and database roles in a same query/script?
  • UPDATE performance where no data changes
  • Can I parse a text value from a specific column in a query (MySQL)?

Categories

  • Database Backup
  • Database Design
  • Database Index
  • Database Optimization
  • InnoDB
  • Join
  • MariaDB
  • MongoDB
  • MySQL
  • Oracle
  • Performance
  • Permissions
  • Postgresql
  • Query Performance
  • Replication
  • Security
  • SQL Server
Proudly powered by WordPress / Support by: DizzyCoding