Here is another method without having to create another SQL script, but you still have to use DECODE. Assuming your table is defined like this:
create table user_to_roles (
userid varchar2(20),
role varchar2(20) )
nologging;
insert into user_to_roles values ('SCOTT','SALES_ADMIN')...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.