post a part of the e-mail address

Hello

How can I post something like [email protected] to fail? So between the character and the first "." must be at least one character.

Thank you.

Hello

Like this

declare
mailId varchar2 (30): = 'asf @ most .com ';
LV number;
Start

Select instr(mailid,'@.') in the double lv;

If lv > 0
then
dbms_output.put_line ('invalid ID email');
end if;
end;

See you soon...

Tags: Database

Similar Questions

Maybe you are looking for