Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/C/MariaDB/mysql-test/suite/json/r/     Datei vom 1.9.2026 mit Größe 592 B image not shown  

Quelle  json_table_notembedded.result   Sprache: Lisp

 

create database db;
use db;
create table t (a text);
insert into t values ('{"foo":"bar"}');
create user u@localhost;
grant select (a) on db.t to u@localhost;
connect  con1,localhost,u,,db;
select a from t;
a
{"foo":"bar"}
select * from t, json_table(t.a, '$' columns(f varchar(20) path '$.foo')) as jt;
a f
{"foo":"bar"} bar
select * into outfile 'f' from json_table('[]', '$' columns(x for ordinality)) q;
ERROR 42000: Access denied; you need (at least one of) the FILE privilege(s) for this operation
connection default;
disconnect con1;
drop user u@localhost;
drop database db;
use test;

Messung
CHZG
1009810099

¤ Dauer der Verarbeitung: 0.1 Sekunden  (vorverarbeitet am  2026-11-24) ¤

*© Formatika GbR, Deutschland