0

I have problem with make variable from table.

DECLARE
 liczba1 PLS_INTEGER;
 
 BEGIN
Select liczba1 := MAX(EMPLOYEE_ID) FROM PRACOWNICY;
 
 END;

That is the problem

ORA-00923: FROM keyword not found where expected

I don't have any idea why it's not working

1 Answer 1

1

I think you want into:

SELECT MAX(EMPLOYEE_ID) INTO liczba1 FROM PRACOWNICY
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.