- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
10-03-2022 02:56 AM
hi experts!!
I am trying to shorten the max length via update set.
Howevver, this error messsage appered.
"Length change not allowed. The field 'Culum Name' on table 'Table Nmae' contains existing data records (163) that exceed the new length of 30."
Actually, I've shortened the max length from 60 to 30.
I've checked data before updata-set migration, but no data is longer than 30 length(These data type is string).
Furthermore, what is (163) ?
So I don't know what should I do.
解決済! 解決策の投稿を見る。
- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
10-03-2022 10:07 PM
Hello @Yuya Hayase
If that is the case please once check the below KB article published by ServiceNow for the possible Root cause for this issue.
Can't decrease length of a field, even though there isn't any data exceeding new max length
- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
10-03-2022 03:14 AM - 編集済み 10-03-2022 03:17 AM
Hello @Yuya Hayase
So that mean that 163 records have value whose length is greater than 30 in the column or field for which your are reducing the max length from 60 to 30.
Please check the Child table table or the Parent actual table where you are updating this field. Suppose you updating the max length of the field that exist on task table. so in that case you may need to check in task table and not on incident table.
- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
10-03-2022 05:54 PM
Thank you @Mahendra RC
I've checked the table again, but I couldn't find longer data.
Do you know how can I find the data (via error messagge)?
- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
10-03-2022 10:07 PM
Hello @Yuya Hayase
If that is the case please once check the below KB article published by ServiceNow for the possible Root cause for this issue.
Can't decrease length of a field, even though there isn't any data exceeding new max length