【发布时间】:2011-03-17 08:36:14
【问题描述】:
我在将 4000 个字符保存到 varchar2(4000) oracle 10g 列时遇到问题 它让我只保存 2000 个字符,当我尝试保存超过 2000 个字符时
我遇到了错误
无法保存:GENERAL_ NOTE 超出最大长度 4000
这是亚音速柱定义
TableSchema.TableColumn colvarGeneralNote = new
TableSchema.TableColumn(模式);
colvarGeneralNote.ColumnName = "GENERAL_NOTE";
colvarGeneralNote.DataType = DbType.String;
colvarGeneralNote.MaxLength = 4000;
colvarGeneralNote.AutoIncrement = false;
colvarGeneralNote.IsNullable = true;
colvarGeneralNote.IsPrimaryKey = false;
colvarGeneralNote.IsForeignKey = false;
colvarGeneralNote.IsReadOnly = false;
colvarGeneralNote.DefaultSetting = @"";
colvarGeneralNote.ForeignKeyTableName = "";
schema.Columns.Add(colvarGeneralNote);
我无法将超过 2000 个字符的字符串保存到我的 varchar2(4000) 列中
请就这个问题给我建议
谢谢 - 阿德姆
【问题讨论】:
标签: oracle subsonic subsonic2.2