c***@hotmail.com
2007-09-04 06:35:38 UTC
I wanna to transfer employee data from employee to tname tables.
BEGIN
FOR SELECT firstname FROM employee
DO
INSERT INTO TNAMES VALUES (firstname);
END FOR;
END;
But it return error
"An unexpected token "firstname" was found following "IN ATOMIC FOR
SELECT".
No really understand the error message.
How to solve this ?
Thanks in Advance.
BEGIN
FOR SELECT firstname FROM employee
DO
INSERT INTO TNAMES VALUES (firstname);
END FOR;
END;
But it return error
"An unexpected token "firstname" was found following "IN ATOMIC FOR
SELECT".
No really understand the error message.
How to solve this ?
Thanks in Advance.