sql >> Database >  >> RDS >> Mysql

Hoe JSON te parseren in MYSQL-trigger

U kunt common_schema installeren . Dan zou je zoiets als dit moeten kunnen doen:

select common_schema.extract_json_value(d.table1,'/multicast_id') as multicase_id,
common_schema.extract_json_value(d.table1,'/success') as success,
common_schema.extract_json_value(d.table1,'/failure') as failure,
common_schema.extract_json_value(d.table1,'/canonical_ids') as canonical_ids,
common_schema.extract_json_value(d.table1,'/results') as results,
common_schema.extract_json_value(d.table1,'/message_id') as message_id
from database d;


  1. FILE_ID() versus FILE_IDEX() in SQL Server:wat is het verschil?

  2. mysql vervangt speciale html-tekens door UTF-equivalenten

  3. ssh eerst met mysqldb in python

  4. Waarom werkt mijn t-sql left join niet?