Closed indiVar0508 closed 11 months ago
Hi @indiVar0508,
Thanks a lot for using these images!
I think your issue is that you are trying to create a table under the SYS
or SYSTEM
user, which are both database administrative users.
While you could make the CREATE TABLE
work with these users, the best practice is to create a user for the app and use that user instead.
You could do so by using the createAppUser
command, i.e.:
docker exec <container name> createAppUser <username> <password>
and then connect to that app user via docker exec -ti <container name> sqlplus <username>/<password>@xepdb1
:
CREATE TABLE my_json_table (
"JSON_columns" JSON
)
Thanks @gvenzl ,
This worked for me :+1: ,
Closing this issue!
Glad to hear it!
Hi,
i am working on latest image for oracle, where i am running a query with
JSON
type i think supported from v21, but i am getting this errorI was trying to run this query for oracle DB
can you help me how to resolve this, i tried this with query
but these both are giving me this error
ORA-00922: missing or invalid option
Thanks