Skip to main content

Questions tagged [json]

JavaScript Object Notation (JSON) is an open, human and machine-readable standard that facilitates data interchange, and along with XML is the main format for data interchange used on the modern web.

1 vote
1 answer
39 views

I have tables with very large numbers, which are entered using scientific notation (e.g. 1e100). But when in the PostgreSQL's psql client (as of 18.x), they get expanded into the full length: # SELECT ...
tinlyx's user avatar
  • 3,850
1 vote
1 answer
57 views

So I’m experimenting with a lightweight way to track and safely update parts of JSON data stored in SQLite, using Python. The main goal is to: Keep JSON documents inside an SQLite database (in a TEXT ...
Jean Dupont's user avatar
2 votes
0 answers
33 views

In the project I am working on, there is a Booking table. There are 8 types of Bookings. I have elected to have just one table There are 12 common fields I could store the rest of the fields as ...
Rohit Gupta's user avatar
  • 2,168
3 votes
1 answer
401 views

Given the following jsonb array, I want to filter it only for certain objects. [ { "id": "123" }, { "id": "456" }, { "id": "...
Charlieface's user avatar
  • 18.1k
0 votes
2 answers
291 views

I'm having an issue with my T-SQL script. I am thinking about and working on how to produce the expected output from it. Here's my T-SQL script: DECLARE @user_id VARCHAR(50) = 'UGUID-2025-01-27-14-09-...
DevQt's user avatar
  • 205
1 vote
1 answer
69 views

I have always stored Application Options as an Ini file on windows as it has been faster to access than the database. Also, sometimes, you need to read some of them before accessing the database. The ...
Rohit Gupta's user avatar
  • 2,168
6 votes
2 answers
351 views

With the database setup CREATE TYPE dbo.TableType AS TABLE ( prop1 int, prop2 datetime2, prop3 varchar(1000) ); GO CREATE OR ALTER PROC dbo.TestTableTypePerf @Data dbo.TableType READONLY AS SELECT ...
Martin Smith's user avatar
  • 88.7k
1 vote
2 answers
219 views

I'm working with a MariaDB database where I have a table with two columns: id and values, where values contains JSON arrays. Here is a simplified example of the data: id values 1 "[1, 2, 3]" ...
Emax's user avatar
  • 111
0 votes
1 answer
138 views

I am using Visual Studio 2022 to develop SSIS 2022 packages, creating a data flow from an OLEDB source (SQL Server query) into a KingswaySoft JSON Destination to post to a data entry endpoint. The ...
MattyZDBA's user avatar
  • 1,955
4 votes
1 answer
394 views

If... INSERT INTO TABLE_NAME SELECT STRING_AGG(COLUMN_NAME, ',') FROM TABLE_NAME introduces an anti-pattern (i.e., can cause poor performance, incorrect results (kindly verify ...
DevQt's user avatar
  • 205
0 votes
1 answer
80 views

I want to say up front, I know this is crazy. I inherited an app I have to maintain from somebody that had denormalized 6 sets of columns into a single row (e.g. some core columns, like ID, 00_c1, ...
user1664043's user avatar
2 votes
1 answer
50 views

I have a table with data we've collected from various sources. It's got the item name, the source and the source's value. The table looks like the following: id name source value 1 abc web 1 2 abc ...
gen_Eric's user avatar
  • 121
0 votes
0 answers
91 views

For context, I am building a tracking database for the construction of a particle detector at CERN (my first database ever! Using postgresql with SQLAlchemy and a flask app for the upload). There will ...
jfwinston32's user avatar
5 votes
1 answer
715 views

I know something about null characters in PostgreSQL text types. But I cannot understand the strange behavior of json testing and casting: select '{"foo":"bar\u0000"}' is json; --...
Oleksandr Penko's user avatar
0 votes
1 answer
198 views

I'm looking for advice on how to model the tables for the following entities. The main concept is a Job. There are two Job types, regular ones, and case studies. This question is about case studies. ...
Adam's user avatar
  • 123

15 30 50 per page
1
2 3 4 5
45