- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-05-2018 01:55 AM
Hi Team,
We have a requirement to do the following:
1. Increase the max length on existing columns.
Couple of queries before making the above change.
1. I verified we have many columns of string type with max length > 4000 in servicecnow tables currently. However, on oracle instances any string > 4000 characters should be of CLOB type. Do we need to consider this before increase length > 4000? As per documentation for string type field on oracle instances with > 4000char ( https://docs.servicenow.com/bundle/london-platform-administration/page/administer/reference-pages/reference/r_FieldTypes.html) , it will be taken care later by logging an incident with support. So can we go ahead and define max length to around 13000 with String type?
2. Do we see any upgrade impact with the increase in max length of existing columns?
3. What exactly happens when the column max length changes during upgrade? How exactly is upgrade of table data handled in service now?
Can someone provide your inputs on above queries. Thanks in advance!
-Usha.
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-05-2018 02:18 AM
Hi Usha,
To answer you question, generally in upgrade, tables matadata doesn't change. You should be fine with columns length changes.
Just a note : be caution about changing columns length more that 255. A table should not have more than 10 columns with max length 255, this is a mysql innodb imitation.
https://dev.mysql.com/doc/refman/8.0/en/column-count-limit.html
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-10-2018 02:19 AM
#1 You may not be able to do it on an existing field
#2 It is a simple thing to do and you dont need to worry on it. If at all the OOB field was modified and SN has upgraded it, then you need to look into the Skipped records and review it once as part of your next upgrade process.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-12-2018 08:07 PM
#2. So only on OOB columns manual upgradation of skipped records is required. For other columns there is no impact on upgrade process and its taken care automatically. Can you please confirm.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-13-2018 12:49 AM
Yes there is no impact to the custom columns created by you, It will impact only OOB columns which could be handled by skipped review.
If you queries have been answered, request you to mark my response as correct.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-14-2018 10:32 PM
Thanks Alikutty and Rahul!