hi,
I get this error ora-000936, missing expression, when I run this insert statement:
Any ideas why this is happening?
I get this error ora-000936, missing expression, when I run this insert statement:
Code:
INSERT INTO MENU_USER
( MENU_ID, GROUP_ID, PI, PU, PD, CR_DTE, CR_USER_ID, UPD_DTE, UPD_USER_ID)
VALUES
(
SELECT MENU_ID, 'CODE2', 'Y', 'Y', 'Y', SYSDATE, 'ALEX', NULL, NULL
FROM MENUS B
WHERE B.MENU_ID = 'MAIN'
)
Any ideas why this is happening?