on 03-24-2015 11:21 AM
Hello experts,
For our customer, we have created a custom query and it has been included into the query group Master Agreement List to be also used on the Master Agreement List Channel. However, when use tries to add columns, following error is raised:
Do you know if this issue can be fixed? Is there any system property controlling this property?
Thanks in advance and best regards,
Isaac
Hello Isaac,
This cannot be changed because it's a hard limitation in Oracle DB. 4000 is the max size for VARCHAR2/NVARCHAR2/RAW, and because Sourcing uses dynamic SQL execution, it is forced within this limit.
Oracle 12c introduces a 32767 limit with MAX_STRING_SIZE = EXTENDED, but this should be raised with Sourcing Product Management to implement.
Bogdan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Isaac,
I believe it is hardcoded and cannot be changed but I'm checking with our development team and will get back to you.
Couple of follow up questions....
- I understand that the users get the error when they try to add a new column. Do they also get the error when they try to remove a column?
- Do you get the same error when you try to personalize a standard advanced list page query, for example, Search Master Agreement query?
Regards,
Vikram
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Vikram,
Thanks for your help!
Answering your questions:
1. It is only happening when we are including a large number of columns. Removing columns is not generating any issue.
2. It is also happening when trying to add a large number of columns on the standard query Search Master Agreement.
So as also explained by Bogdan below, I guess that database parameter MAX_STRING_SIZE needs to be extended.
Please, don't hesitate to let me know if there is any additional information.
Thanks and best regards,
Isaac
Hello Isaac,
Thank you for providing the additional details. Some of the saved changes to the advanced list page query is stored as XML data in the database, so as rightly pointed out by Bogdan it appears that you may have hit the limit especially when dealing with large number of columns. Since the limitation is
at the DB level our options for a solution will be limited as well. I’m following up with development team to see if there is a way to optimize the xml to make little bit more room or may be come up with an alternate approach. Either way it would require product code change. It would be helpful if you could open a message and add the details so we can track it.
Regards,
Vikram
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.