前台应用报错语句如下:
UPDATE T89 SET
C5 = 'ls233904',
C6 = 1242702521,
C700000005 ='' ,
C7 = 2,
C536870955= 'SMC_EMEA-Tier2',
C536871013 = '10061',
C536871191 = 'ls233904',
C4= 'Laurent Scotti',
C536871069= 1242702521,
C536870977 = 'TBD',
C536871041 = '',
C536871200 = '',
C536870924 = 24.0,
C536871180 = 1242788921,
C536871165 = 'very long...................................',
C700000013 = 'very long ..................................',
C536871097 = 1242702521,
C1 = C1
WHERE C1 = 'IT0000001084351'
在SQLPLUS里RUN报如下错误:
SQL> @long_sql.sql
SP2-0027: Input is too long (> 2499 characters) - line ignored
SP2-0027: Input is too long (> 2499 characters) - line ignored
怀疑是C536871165或C700000013超长了:
desc T89
发现这两个COL的类型均为varchar4(4000).
建议从应用限制输入字符长度。