无法启用约束。一个或多个行包含违反非空、唯一或外键约束的值。
informix
DataTable dt = TeachingLoadDAL.GetCoursesWithEvalState(i, bat);
无法启用约束。一个或多个行包含违反非空、唯一或外键约束的值。
编辑:
SELECT UNIQUE a.crs_e, a.crs_e || '/ ' || a.crst crs_name, b.period, b.crscls, c.crsday, c.from_lect, c.to_lect, c.to_lect - c.from_lect + 1 Subtraction, c.lect_kind, e.eval, e.batch_no, e.crsnum, e.lect_code, e.prof_course FROM rlm1course a, rfc14crsgrp b, ckj1table c, mnltablelectev d, OUTER(cc1assiscrseval e) WHERE a.crsnum = b.crsnum AND b.crsnum = c.crsnum AND b.crscls = c.crscls AND b.batch_no = c.batch_no AND c.serial_key = d.serial_key AND c.crsnum = e.crsnum AND c.batch_no = e.batch_no AND d.lect_code= e.lect_code AND d.lect_code = .... AND b.batch_no = ....
cc1assiscrseval
编辑:
@PaulStock
?dt.GetError()[0]{System.Data.DataRow}HasError:true ItemArray:{Object[10]}RowError:“列‘val’不允许DBNull.Value”。
e.eval
NVL (e.eval,'') eval
catspeake
红颜莎娜
慕神8447489
相关分类