我的应用程序是使用nHibernate和MSSQL的.Net应用程序。在添加与警报功能相关的注释时,我收到错误消息:
这是nHibernate内部创建的SQL查询
SQL查询:
SELECT this_.AlertID as AlertID1_0_,
this_.RV as RV1_0_,
this_.CaseID as CaseID1_0_,
this_.Description as Descript4_1_0_,
this_.GeneratedByObjectID as Generate5_1_0_,
this_.GeneratedByObjectTypeID as Generate6_1_0_,
this_.RelatedObjectTypeID as RelatedO7_1_0_,
this_.RelatedObjectID as RelatedO8_1_0_,
this_.IsClosed as IsClosed1_0_,
this_.CreatedDate as Created10_1_0_,
this_.ClosedDate as ClosedDate1_0_,
this_.CloseComments as CloseCo12_1_0_,
this_.CreatedByUserID as Created13_1_0_,
this_.ClosedByUserID as ClosedB14_1_0_,
this_.ClosureReasonID as Closure15_1_0_ FROM trans.Alert this_ WHERE this_.GeneratedByObjectTypeID = 1 and this_.GeneratedByObjectID = 1775549 and not (this_.IsClosed = ‘True’)
名称:cp0 - 值:1名称:cp1 - 值:1775549名称:cp2 - 值:True
错误讯息:
System.Data.SqlClient.SqlException:创建或更改表 'FakeWorkTable'失败,因为最小行大小为16017, 包括4个字节的内部开销。这超过了最大值 允许的表行大小为8094字节。
尝试了所有但都失败了。