Oracle XE WM_CONCAT undifine

用docker 跑了个oracle XE

报错 没有WM_CONCAT    下载三个sql文件然后按顺序执行后可以正常使用

一:下载三个文件 解压到 oracle 目录下面 (要能找到,注意权限要oracle 可读)

http://pan.baidu.com/s/1geV0xIr

root@dd365aa76ddf:/u01/app/oracle/WMSYS# ll
-rw-r--r-- 1 oracle dba 627 Jun 20 2013 owmaggrb.plb
-rw-r--r-- 1 oracle dba 1132 Jun 20 2013 owmaggrs.plb
-rw-r--r-- 1 oracle dba 14889 Jun 20 2013 owmctab.plb

二: 登陆sysdba 按顺序执行

root@dd365aa76ddf:/u01/app/oracle/WMSYS# su - oracle
oracle@dd365aa76ddf:~$ sqlplus / as sysdba
SQL*Plus: Release 11.2.0.2.0 Production on Fri May 18 10:09:57 2018
Copyright (c) 1982, 2011, Oracle. All rights reserved.
Connected to:
Oracle Database 11g Express Edition Release 11.2.0.2.0 - 64bit Production
SQL>

SQL>@/u01/app/oracle/WMSYS/owmctab.plb
SQL>@/u01/app/oracle/WMSYS/owmaggrs.plb
SQL>@/u01/app/oracle/WMSYS/owmaggrb.plb

三条命令按顺序执行(路径根据实际的路径自行更改)

https://blog.csdn.net/Lemostic/article/details/78050391 

猜你喜欢

转载自www.cnblogs.com/sweet22353/p/9057394.html