This is the recent problem that I faced while applying and activating column on a Table. The table in picture was S_SRV_REQ

Problem:

While applying column on the Service Request table we receive error the error given below.

ORA-01754 – Table cannot have more than one long column.

 I don’t have the exact error message right now. It was pretty long and uncomprehensive error but in simple words it was the error mentioned above

We checked but there wasn’t even a single column with data type as Long. So, there was no reason this error should occur but it was coming.

Solution:

After some analysis what we found out was that there were several columns that were recently created and there 3 of them had type as Varchar and lenght as 2500

This problem could be solved by

  • Making the column have length more than 2500 as inactive
  • Reduction in the column length from 2500 to 2000

Reason:

It seems that when we define Varchar column length more than 2000 characters in Siebel it is treated as long at database level due to which oracle constraint of having only 1 long column on table comes into the picture hence ORA-01754 error .

OkAvarageGoodVery GoodExcellent (1 votes, average: 5 out of 5)
Loading ... Loading ...