查看当前服务名:

SQL> show parameter service_name;

修改服务名:

SQL> alter system set service_names='orcl' scope=both;