Extract values from JSON text field for use in "IN" statement SQL
In Azure SQL server. I have the following (non-functional) query that is attempting to use the values from a JSON array of foreign keys to find rows, using "IN". SELECT * FROM foo_table WHERE foo_table_id IN (SELECT json_ids_field FROM bar_table WHERE bar_table_id _field= 1); However this returns an error because it does not natively understand… Read More Extract values from JSON text field for use in "IN" statement SQL