我在执行下面的行时遇到错误,
SELECT * INTO employee_Backup FROM employee
错误:
ora-00905 缺少关键字错误
您的查询应该是
INSERT INTO employee_backup
SELECT *
FROM employee
在这里讨论
语法是
INSERT INTO table_name
SELECT *
FROM table_name
这是您尝试使用的 sql-server 语法。Oracle 等价物是:
INSERT INTO employee_backup
(SELECT * FROM employee)