小编Mic*_*ael的帖子

SQL Developer帮助输入替换变量

我正在尝试使用脚本将大约15,000行数据输入到我的表中,但是当我运行脚本时,我得到一个弹出窗口,要求我输入替换变量.

如何阻止它弹出以便允许我输入日期?

以下是我需要输入的一些数据行的一些示例

INSERT INTO description 
 (description, item_weight, pickup_customer, delivery customer, category)
VALUES 
 ('Normal', 4771, 'Carfax & Co', 'Matriotism Plc', 'A');

INSERT INTO description 
 (description, item_weight, pickup_customer, delivery customer, category) 
VALUES 
 ('Normal', 2525, 'Matriotism Plc', 'Carfax & Co', 'A');

INSERT INTO description 
 (description, item_weight, pickup_customer, delivery customer, category) 
VALUES 
 ('Normal', 693, 'Matriotism Plc', 'Sylph Fabrication', 'A');

INSERT INTO description 
 (description, item_weight, pickup_customer, delivery customer, category) 
VALUES 
 ('Fragile', 2976, 'Nosophobia Fabrication', 'Carfax & Co', 'B');

INSERT INTO description 
 (description, item_weight, pickup_customer, …
Run Code Online (Sandbox Code Playgroud)

database oracle11g oracle-sqldeveloper

7
推荐指数
1
解决办法
2万
查看次数

插入/查询表中的数据时ORA-00904

我收到了流动的错误:

Error starting at line 1 in command:
INSERT INTO driver (registration, make, model, gvw, year, body) VALUES('4585 AW','ALBION','RIEVER',20321,1963, ' ');
Error at Command Line:1 Column:53
Error report:
SQL Error: ORA-00904: "BODY": invalid identifier
00904. 00000 -  "%s: invalid identifier"
Run Code Online (Sandbox Code Playgroud)

当我做以下

INSERT INTO driver 
(registration, make, model, gvw, year) 
VALUES
('4585 AW','ALBION','RIEVER',20321,1963, ' ');
Run Code Online (Sandbox Code Playgroud)

所以我暂时删除了正文数据,然后给出了错误

Error starting at line 1 in command:
INSERT INTO driver (registration, make, model, gvw, year) VALUES('4585 AW','ALBION','RIEVER',20321,1963)
Error at Command Line:1 Column:53
Error report:
SQL …
Run Code Online (Sandbox Code Playgroud)

sql database oracle11g

2
推荐指数
1
解决办法
1万
查看次数

标签 统计

database ×2

oracle11g ×2

oracle-sqldeveloper ×1

sql ×1