我在执行以下行时遇到错误,
SELECT * INTO employee_Backup FROM employee
错误:
Ora-00905缺少关键字错误
答案 0 :(得分:2)
您的查询应该是
INSERT INTO employee_backup
SELECT *
FROM employee
讨论here
语法是
INSERT INTO table_name
SELECT *
FROM table_name
答案 1 :(得分:1)
这是您尝试使用的sql-server语法。 Oracle等价物将是:
INSERT INTO employee_backup
(SELECT * FROM employee)