Answer the question
In order to leave comments, you need to log in
ORA-00922 error while creating table?
I'm trying to create a simple table using python:
cur = con.cursor()
columns = 'i_id_pokaz varchar(50), \
pokaz_measure varchar(20), \
\"Описание показателя\" varchar(150), \
\"Блок данных\" varchar(30), \
level_name varchar(20), \
tb_id integer, \
gosb_id integer, \
org_id varchar(50), \
fact_amt integer, \
fc_amt_1 integer, \
rnk integer, \
plan_amt integer, \
period_begin date, \
period_end date, \
rep_date date, \
load date, \
execution, \'
cur.execute(f'create table from_cost_lab_with_love ({columns});')
Answer the question
In order to leave comments, you need to log in
I think the problem is
\"Описание показателя\" varchar(150), \
\"Блок данных\" varchar(30), \
pokaz_descr varchar(150), \
data_block varchar(30), \
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question