我想知道的SQL异常的具体错误条件
“重复错误记录”
“NULL值”
什么是SQL异常SQL异常(状态)(状态)以上?
任何建议
enum FilterMode
{
System_AllData = -1,
System_Error = -2,
System_DuplicateError = 3,
System_NullValues = 2,
}
private FilterMode SetFilter(string str)
{
if (str == "All Record")
return FilterMode.System_AllData;
else if (str == "All Error Record")
return FilterMode.System_Error;
else if (str == "Duplicate Error Record")
return FilterMode.System_DuplicateError;
else if (str == "Null Value")
return FilterMode.System_NullValues;
else return FilterMode.System_Error;
}
我不知道你在问什么。你能更清楚吗?你已经用C#标记了这个,你有一些代码给我们看? – David
对不起,但为什么你需要这些? –
这完全是关于过滤错误状态。 所以你可以建议我SQl状态是什么指定为上述 – Jones