1
2SELECT extractvalue(value(lic),
3 '*/PERMISSION_SET',
4 'xmlns="urn:ifsworld-com:schemas:fndlicensemanagement_ifs_license_file"') NAME,
5 extractvalue(value(lic),
6 '*/NUMBER_OF_USERS',
7 'xmlns="urn:ifsworld-com:schemas:fndlicensemanagement_ifs_license_file"') NO_OF_USER
8 FROM ifsapp.FND_LICENSE,
9 TABLE(xmlsequence(extract(XMLType(binary_value, 871),
10 '*/LIMITED_TASK_USERS/LIMITED_TASK_USER',
11 'xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="urn:ifsworld-com:schemas:fndlicensemanagement_ifs_license_file"'))) lic
12WHERE PARAMETER = 'LICENSE_FILE'
13UNION
14
15SELECT extractvalue(value(lic),
16 '*/PERMISSION_SET',
17 'xmlns="urn:ifsworld-com:schemas:fndlicensemanagement_ifs_license_file"') NAME,
18 extractvalue(value(lic),
19 '*/NUMBER_OF_USERS',
20 'xmlns="urn:ifsworld-com:schemas:fndlicensemanagement_ifs_license_file"') NO_OF_USER
21 FROM ifsapp.FND_LICENSE,
22 TABLE(xmlsequence(extract(XMLType(binary_value, 871),
23 '*/ADDITIONAL_TASK_USERS/ADDITIONAL_TASK_USER',
24 'xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="urn:ifsworld-com:schemas:fndlicensemanagement_ifs_license_file"'))) lic
25WHERE PARAMETER = 'LICENSE_FILE'
26UNION
27
28SELECT extractvalue(value(lic),
29 '*/NAME',
30 'xmlns="urn:ifsworld-com:schemas:fndlicensemanagement_ifs_license_file"') NAME,
31 extractvalue(value(lic),
32 '*/NUMBER_OF_USERS',
33 'xmlns="urn:ifsworld-com:schemas:fndlicensemanagement_ifs_license_file"') NO_OF_USER
34 FROM ifsapp.FND_LICENSE,
35 TABLE(xmlsequence(extract(XMLType(binary_value, 871),
36 '*/CUSTOM_TASK_USERS/CUSTOM_TASK_USER',
37 'xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="urn:ifsworld-com:schemas:fndlicensemanagement_ifs_license_file"'))) lic
38WHERE PARAMETER = 'LICENSE_FILE'