set oracle service name code example Example: oracle service name view select name from V$SERVICES; select name from V$ACTIVE_SERVICES;