Skip to Main Content

SQL Developer

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

SP2-0042: unknown command "end" - rest of line ignored.

988562May 7 2013 — edited May 8 2013
Hi All, below is my code..

set timing on
begin
Delete PB_SURVEY_USER_IMA where Name != 'Login ID';
Delete PB_SURVEY_USER_IMA where value not like '%@%';
#Delete PB_SURVEY_USER_IMA where lower(value) like lower('%@pb.com');
Update PB_SURVEY_USER_IMA
Set Id = 10557,
CAN = ( Select Max( account_number)
from pbaccount
where member_id in (
Select users_id
from userreg
where userreg.logonid = trim(PB_SURVEY_USER_IMA.value))
);
commit;
Update PB_SURVEY_USER_IMA Set country_id=(Select language_id from users where users_id in (Select users_id from userreg where userreg.logonid = trim(PB_SURVEY_USER_IMA.value)));
commit;
end;
/
exit;
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 5 2013
Added on May 7 2013
1 comment
1,252 views