由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Database版 - have a simple question. Please help me!
相关主题
better way to compare nullable columns?ORA-01400 and ORA-06512
请教三个Key的property,怎么用Update实现这个?
Oracle 求助新手问题求助
[转载] what's wrong with this PL/SQLQuestions on SQL
Please Help! ORA-00918: column ambiguously definedRe: have a simple question. Please help
ORA-1747 error 求助。Oracle新手请教一个问题
小问题correlated subquery
新手求教,plsql collection 参数传入问题,非常感谢。请教:SSIS输出到,某column中含隐藏字符'口',一条记录分成两
相关话题的讨论汇总
话题: letter话题: char话题: simple话题: start话题: end
进入Database版参与讨论
1 (共1页)
DW
发帖数: 535
1
In the table, there are two columns, one is calleld start_letter and the other
is called end_letter. The type of both of them is Char(1). The condition is
end_letter must be greater than start_letter. So what I write like this:
start_letter CHAR(1) NOT NULL,
end_letter CHAR(1) NOT NULL CHECK(end_letter>start_letter)
The error message is
ORA-02438: Column check constraint cannot reference other columns
How should I do to set this condition?
Thank you!
1 (共1页)
进入Database版参与讨论
相关主题
请教:SSIS输出到,某column中含隐藏字符'口',一条记录分成两Please Help! ORA-00918: column ambiguously defined
一个奇怪的问题ORA-1747 error 求助。
How to replace 0 with empty?小问题
How to get other columns after UNION?新手求教,plsql collection 参数传入问题,非常感谢。
better way to compare nullable columns?ORA-01400 and ORA-06512
请教三个Key的property,怎么用Update实现这个?
Oracle 求助新手问题求助
[转载] what's wrong with this PL/SQLQuestions on SQL
相关话题的讨论汇总
话题: letter话题: char话题: simple话题: start话题: end